CRM-16029 - fix for create new financial type in when account relationship types...
authorDave Greenberg <dave@civicrm.org>
Wed, 16 Sep 2015 23:25:58 +0000 (16:25 -0700)
committerDave Greenberg <dave@civicrm.org>
Wed, 16 Sep 2015 23:25:58 +0000 (16:25 -0700)
----------------------------------------
* CRM-16029: Creating a financial type in a localised civicrm install breaks
  https://issues.civicrm.org/jira/browse/CRM-16029

CRM/Financial/BAO/FinancialTypeAccount.php

index 3e4da2f00a398e7fb8ffdf6df28dafacc249be10..5b2a1826769ff3551a8f3c8f4ff3583123201a64 100644 (file)
@@ -227,7 +227,7 @@ WHERE cog.name = 'payment_instrument' ";
     $titles = array();
     $financialAccountTypeID = CRM_Core_OptionGroup::values('financial_account_type', FALSE, FALSE, FALSE, NULL, 'name');
     $accountRelationship    = CRM_Core_OptionGroup::values('account_relationship', FALSE, FALSE, FALSE, NULL, 'name');
-    
+
     $relationships = array(
       array_search('Accounts Receivable Account is', $accountRelationship) => array_search('Asset', $financialAccountTypeID),
       array_search('Expense Account is', $accountRelationship) => array_search('Expenses', $financialAccountTypeID),