CRM-13428 - Changed other instances of the event confirmation PDF filename to confirm...
authorDave Greenberg <dave@civicrm.org>
Mon, 23 Sep 2013 23:06:22 +0000 (16:06 -0700)
committerDave Greenberg <dave@civicrm.org>
Mon, 23 Sep 2013 23:06:22 +0000 (16:06 -0700)
----------------------------------------
* CRM-13428: Email receipt/confirmation do not attach PDF files
  http://issues.civicrm.org/jira/browse/CRM-13428

CRM/Event/BAO/Event.php
CRM/Event/Cart/Form/Checkout/Payment.php

index 5614be76afecd88bf1839529b9f3d76ddb200328..bcc742f62a16f845261060db4789d221aed428a7 100644 (file)
@@ -1092,7 +1092,7 @@ WHERE civicrm_event.is_active = 1
           'contactId' => $contactID,
           'isTest' => $isTest,
           'tplParams' => $tplParams,
-          'PDFFilename' => 'eventReceipt.pdf',
+          'PDFFilename' => ts('confirmation').'.pdf',
         );
 
         // address required during receipt processing (pdf and email receipt)
index 6ec2c741dfbcb314980744af86e2015c7eb50c80..3bba4af06f9484e9f00c173b0b379f7b49b0419e 100644 (file)
@@ -334,7 +334,7 @@ class CRM_Event_Cart_Form_Checkout_Payment extends CRM_Event_Cart_Form_Cart {
         'pay_later_receipt' => $this->pay_later_receipt,
       ),
       'valueName' => 'event_registration_receipt',
-      'PDFFilename' => 'eventReceipt.pdf',
+      'PDFFilename' => ts('confirmation').'.pdf',
     );
     $template_params_to_copy = array(
       'billing_name',