Remove unneeded use of CRM_Core_DAO::$_nullArray in executeQuery or similar calls
[civicrm-core.git] / CRM / Financial / Form / FinancialAccount.php
index f304e7fcfa8d4c5c63739f7e960145032d26cc52..227e6d01432b63ea59bb9bc61b5e7942fc72b363 100644 (file)
@@ -53,7 +53,7 @@ class CRM_Financial_Form_FinancialAccount extends CRM_Contribute_Form {
       $params = [
         'id' => $this->_id,
       ];
-      $financialAccount = CRM_Financial_BAO_FinancialAccount::retrieve($params, CRM_Core_DAO::$_nullArray);
+      $financialAccount = CRM_Financial_BAO_FinancialAccount::retrieve($params);
       $financialAccountTypeId = key(CRM_Core_PseudoConstant::accountOptionValues('financial_account_type', NULL, " AND v.name LIKE 'Asset' "));
       if ($financialAccount->financial_account_type_id == $financialAccountTypeId
         && strtolower($financialAccount->account_type_code) == 'ar'