From: Donald A. Lobo Date: Sat, 16 Nov 2013 15:52:08 +0000 (-0800) Subject: fix notice messages reported on forum X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=270272fbdc38748270093dfc63b990e87e00bf35;p=civicrm-core.git fix notice messages reported on forum --- diff --git a/CRM/Contact/Form/Task/PDFLetterCommon.php b/CRM/Contact/Form/Task/PDFLetterCommon.php index 0bde670b72..789683788f 100644 --- a/CRM/Contact/Form/Task/PDFLetterCommon.php +++ b/CRM/Contact/Form/Task/PDFLetterCommon.php @@ -373,7 +373,7 @@ class CRM_Contact_Form_Task_PDFLetterCommon { CRM_Utils_System::civiExit(1); } - function createActivities($form, $html_message, $contactIds) { + static function createActivities($form, $html_message, $contactIds) { //Added for CRM-12682: Add activity subject and campaign fields $formValues = $form->controller->exportValues($form->getName()); @@ -420,7 +420,7 @@ class CRM_Contact_Form_Task_PDFLetterCommon { } } - function formatMessage(&$message) { + static function formatMessage(&$message) { $newLineOperators = array( 'p' => array( 'oper' => '

',