Merge pull request #12905 from totten/master-gitignore
[civicrm-core.git] / api / v3 / FinancialTrxn.php
index 12058a157f5d14e0d81e1d6c9d2d45b0cc6c5ccf..3acd230bf59d696514e0ddc7c12f5f9af4c96b14 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.7                                                |
+ | CiviCRM version 5                                                  |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2017                                |
  +--------------------------------------------------------------------+
@@ -43,7 +43,7 @@ function civicrm_api3_financial_trxn_create($params) {
     throw new API_Exception("Mandatory key(s) missing from params array: both contribution_id and entity_id are missing");
   }
 
-  return _civicrm_api3_basic_create('CRM_Core_BAO_FinancialTrxn', $params);
+  return _civicrm_api3_basic_create('CRM_Core_BAO_FinancialTrxn', $params, 'FinancialTrxn');
 }
 
 /**