Skip to content

Commit

Permalink
Fix printing and sending contribution recepits
Browse files Browse the repository at this point in the history
  • Loading branch information
seamuslee001 committed Sep 16, 2016
1 parent f8c6ccb commit 1e0079a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions CRM/Contribute/Form/Task/PDF.php
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,7 @@ public function postProcess() {
$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'];
Expand Down

0 comments on commit 1e0079a

Please sign in to comment.