From 270272fbdc38748270093dfc63b990e87e00bf35 Mon Sep 17 00:00:00 2001 From: "Donald A. Lobo" Date: Sat, 16 Nov 2013 07:52:08 -0800 Subject: [PATCH] fix notice messages reported on forum --- CRM/Contact/Form/Task/PDFLetterCommon.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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' => '

', -- 2.25.1