From 399cd461659635dc3c75f60590b1c93be26ba8ac Mon Sep 17 00:00:00 2001 From: Jamie McClelland Date: Fri, 14 Jul 2017 15:14:14 -0400 Subject: [PATCH] CRM-20876 - ensure honor block variable is passed to template Otherwise, it's not on the receipt. --- CRM/Contribute/BAO/ContributionPage.php | 1 + 1 file changed, 1 insertion(+) diff --git a/CRM/Contribute/BAO/ContributionPage.php b/CRM/Contribute/BAO/ContributionPage.php index f362a07d9a..41fcca9aae 100644 --- a/CRM/Contribute/BAO/ContributionPage.php +++ b/CRM/Contribute/BAO/ContributionPage.php @@ -385,6 +385,7 @@ class CRM_Contribute_BAO_ContributionPage extends CRM_Contribute_DAO_Contributio 'is_pay_later' => $values['is_pay_later'], 'receipt_date' => !$values['receipt_date'] ? NULL : date('YmdHis', strtotime($values['receipt_date'])), 'pay_later_receipt' => CRM_Utils_Array::value('pay_later_receipt', $values), + 'honor_block_is_active' => CRM_Utils_Array::value('honor_block_is_active', $values), ); if ($contributionTypeId = CRM_Utils_Array::value('financial_type_id', $values)) { -- 2.25.1