CRM-10043 - one more fatal fix - ts w/o array.
authorDave Greenberg <dave@civicrm.org>
Tue, 14 Jan 2014 02:50:41 +0000 (18:50 -0800)
committerDave Greenberg <dave@civicrm.org>
Tue, 14 Jan 2014 02:50:41 +0000 (18:50 -0800)
CRM/Activity/Form/Activity.php

index 4950aea6a2bb19169d3530e5915d6be06e111c95..2a5a58d757480095b313bfae312f0ec1782aa917 100644 (file)
@@ -315,7 +315,7 @@ class CRM_Activity_Form_Activity extends CRM_Contact_Form_Task {
         CRM_Utils_System::setTitle($displayName . ' - ' . $activityName);
       }
       else {
-        CRM_Utils_System::setTitle(ts('%1 Activity', $activityName));
+        CRM_Utils_System::setTitle(ts('%1 Activity', array( 1 => $activityName)));
       }
     }