CRM-16839: Fix CiviCase Activity status messages / ts() usage - fix href syntax.
authorMathieu Lutfy <mathieu@bidon.ca>
Mon, 13 Jul 2015 22:09:38 +0000 (18:09 -0400)
committerMathieu Lutfy <mathieu@bidon.ca>
Mon, 13 Jul 2015 22:09:38 +0000 (18:09 -0400)
CRM/Case/Form/Activity.php

index 13d8eb54c1bffd6154d550debfd02d5e6edc7f3c..4f60f56b7d4c808d0553998a984ff36b1c8c701b 100644 (file)
@@ -203,7 +203,7 @@ class CRM_Case_Form_Activity extends CRM_Activity_Form_Activity {
             CRM_Core_Error::statusBounce(ts("You can not add another '%1' activity to this case. %2",
                 array(
                   1 => $this->_activityTypeName,
-                  2 => ts("Do you want to <a href='%1'>edit the existing activity</a>?", array(1 => $editUrl)),
+                  2 => ts("Do you want to <a %1>edit the existing activity</a>?", array(1 => "href='$editUrl'")),
                 )
               ),
               $url