prosed fix for CRM-13428
authorsystopia <endres@systopia.de>
Fri, 20 Sep 2013 08:56:12 +0000 (10:56 +0200)
committersystopia <endres@systopia.de>
Fri, 20 Sep 2013 08:56:12 +0000 (10:56 +0200)
CRM/Contribute/Form/AdditionalInfo.php
CRM/Event/Form/Participant.php

index 449267f6216faeaa57e13e412d385b4fd00a76cf..89c594b4e90f781e7e1b4e2cc4a85709a1033526 100644 (file)
@@ -506,6 +506,7 @@ class CRM_Contribute_Form_AdditionalInfo {
         'toName' => $contributorDisplayName,
         'toEmail' => $contributorEmail,
         'isTest' => $form->_mode == 'test',
+        'PDFFilename' => ts('receipt').'.pdf',
       )
     );
 
index ba3d0875eef1628c226be4155de4e924fbe67b99..bc114206d3225acdc26d74ab2347d80290ed9e1d 100644 (file)
@@ -1692,6 +1692,7 @@ loadCampaign( {$this->_eID}, {$eventCampaigns} );
           'valueName' => 'event_offline_receipt',
           'contactId' => $contactID,
           'isTest' => (bool) CRM_Utils_Array::value('is_test', $this->_defaultValues),
+          'PDFFilename' => ts('confirmation').'.pdf',
         );
 
         // try to send emails only if email id is present