From: Dave Greenberg Date: Mon, 23 Sep 2013 23:06:22 +0000 (-0700) Subject: CRM-13428 - Changed other instances of the event confirmation PDF filename to confirm... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=fed86eca225ea704a48015140d12e50eae41c5ea;p=civicrm-core.git CRM-13428 - Changed other instances of the event confirmation PDF filename to confirmation.pdf from eventReceipt.pdf. ---------------------------------------- * CRM-13428: Email receipt/confirmation do not attach PDF files http://issues.civicrm.org/jira/browse/CRM-13428 --- diff --git a/CRM/Event/BAO/Event.php b/CRM/Event/BAO/Event.php index 5614be76af..bcc742f62a 100644 --- a/CRM/Event/BAO/Event.php +++ b/CRM/Event/BAO/Event.php @@ -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) diff --git a/CRM/Event/Cart/Form/Checkout/Payment.php b/CRM/Event/Cart/Form/Checkout/Payment.php index 6ec2c741df..3bba4af06f 100644 --- a/CRM/Event/Cart/Form/Checkout/Payment.php +++ b/CRM/Event/Cart/Form/Checkout/Payment.php @@ -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',