From a9485fab005d5ffda4496a57d4d06de27daf6dff Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Fri, 16 Sep 2016 10:55:26 +0000 Subject: [PATCH] Fix printing and sending contribution recepits --- CRM/Contribute/Form/Task/PDF.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CRM/Contribute/Form/Task/PDF.php b/CRM/Contribute/Form/Task/PDF.php index fe9f9aa1d9..5f342c1db4 100644 --- a/CRM/Contribute/Form/Task/PDF.php +++ b/CRM/Contribute/Form/Task/PDF.php @@ -207,8 +207,7 @@ AND {$this->_componentClause}"; $input['receipt_from_name'] = str_replace('"', '', $fromDetails[0]); } - $mail = CRM_Contribute_BAO_Contribution::sendMail($input, $ids, $objects['contribution']->id, $values, FALSE, - $elements['createPdf']); + $mail = $elements['baseIPN']->sendMail($input, $ids, $objects, $values, FALSE, $elements['createPdf']); if ($mail['html']) { $message[] = $mail['html']; -- 2.25.1