jenkins-bot has submitted this change and it was merged.

Change subject: Fix reference to contribution_type_id
......................................................................


Fix reference to contribution_type_id

Now called financial_type_id in calling code.

Bug: T117573
Change-Id: I4c6f015692a2f2495d759fd82c496d36d72f3062
---
M sites/all/modules/wmf_civicrm/wmf_civicrm.module
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Cdentinger: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/sites/all/modules/wmf_civicrm/wmf_civicrm.module 
b/sites/all/modules/wmf_civicrm/wmf_civicrm.module
index affc5e6..0e6b8cb 100644
--- a/sites/all/modules/wmf_civicrm/wmf_civicrm.module
+++ b/sites/all/modules/wmf_civicrm/wmf_civicrm.module
@@ -455,6 +455,7 @@
 
     switch ($type) {
         case 'contribution_type_id':
+        case 'financial_type_id':
             //fixme: This is probably the upside-down way to do it. Really 
ought to go through the API.
             //
             $result = CRM_Financial_BAO_FinancialType::retrieve($params, 
$dummy);

-- 
To view, visit https://gerrit.wikimedia.org/r/250732
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I4c6f015692a2f2495d759fd82c496d36d72f3062
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/fundraising/crm
Gerrit-Branch: master
Gerrit-Owner: Awight <[email protected]>
Gerrit-Reviewer: AndyRussG <[email protected]>
Gerrit-Reviewer: Awight <[email protected]>
Gerrit-Reviewer: Cdentinger <[email protected]>
Gerrit-Reviewer: Eileen <[email protected]>
Gerrit-Reviewer: Ejegg <[email protected]>
Gerrit-Reviewer: Katie Horn <[email protected]>
Gerrit-Reviewer: Pcoombe <[email protected]>
Gerrit-Reviewer: XenoRyet <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to