Corrected call to commonCompose
authorRuben Rodriguez <ruben@fsf.org>
Tue, 29 May 2018 15:47:45 +0000 (11:47 -0400)
committerMichael McMahon <michael@fsf.org>
Thu, 20 Aug 2020 14:00:13 +0000 (10:00 -0400)
We were using a deprecated wrapper for that function:
https://github.com/civicrm/civicrm-core/commit/187007a3dbd33bde08b0b4f54feff8c71ea2a065

CRM/Contact/Form/Task/PDFLatexCommon.php

index d9485f17e395c2320bff55e8ec8d687845d2570a..c0fa707ee45cabda843674af92616883600ed531 100644 (file)
@@ -143,7 +143,7 @@ class CRM_Contact_Form_Task_PDFLatexCommon {
     $form->assign('useSelectedPageFormat', ts('Should the new template always use the selected Page Format?'));
     $form->assign('totalSelectedContacts', count($form->_contactIds));
 
-    CRM_Mailing_BAO_Mailing::commonLetterCompose($form);
+    CRM_Mailing_BAO_Mailing::commonCompose($form);
 
     if ($form->_single) {
       $cancelURL = CRM_Utils_System::url(