CRM-16669 - ensure financialType is loaded for credit card transactions so is_deducti...
authorJake Martin White <jakemartin2@gmail.com>
Tue, 6 Oct 2015 03:49:05 +0000 (03:49 +0000)
committerJake Martin White <jakemartin2@gmail.com>
Tue, 6 Oct 2015 03:49:05 +0000 (03:49 +0000)
CRM/Contribute/Form/Contribution.php

index a41de6b7d486c43e9ecdcb61d957d5987c5ed26a..13bf393052e7e9a089d00720838723d3033a0b2f 100644 (file)
@@ -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.