From: Jake Martin White Date: Tue, 6 Oct 2015 03:49:05 +0000 (+0000) Subject: CRM-16669 - ensure financialType is loaded for credit card transactions so is_deducti... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=a8c0f96cef6c93b20674e6d6bc722fad89d2028e;p=civicrm-core.git CRM-16669 - ensure financialType is loaded for credit card transactions so is_deductible can be checked to determine non_deductible amount --- 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.