From a8c0f96cef6c93b20674e6d6bc722fad89d2028e Mon Sep 17 00:00:00 2001 From: Jake Martin White Date: Tue, 6 Oct 2015 03:49:05 +0000 Subject: [PATCH] CRM-16669 - ensure financialType is loaded for credit card transactions so is_deductible can be checked to determine non_deductible amount --- CRM/Contribute/Form/Contribution.php | 1 + 1 file changed, 1 insertion(+) diff --git a/CRM/Contribute/Form/Contribution.php b/CRM/Contribute/Form/Contribution.php index a41de6b7d4..13bf393052 100644 --- a/CRM/Contribute/Form/Contribution.php +++ b/CRM/Contribute/Form/Contribution.php @@ -1657,6 +1657,7 @@ class CRM_Contribute_Form_Contribution extends CRM_Contribute_Form_AbstractEditP $contributionType = new CRM_Financial_DAO_FinancialType(); $contributionType->id = $params['financial_type_id']; + $contributionType->find(TRUE); // Add some financial type details to the params list // if folks need to use it. -- 2.25.1