X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FFinancial%2FForm%2FFinancialAccount.php;h=227e6d01432b63ea59bb9bc61b5e7942fc72b363;hb=3c8861b04218acafe15ddcf7de34e51203650cd3;hp=6b38724a81c4d3858e58a76e929b40af44c5747b;hpb=35300ebd3b90fd1d73409c4d1b75ffc86a05c728;p=civicrm-core.git diff --git a/CRM/Financial/Form/FinancialAccount.php b/CRM/Financial/Form/FinancialAccount.php index 6b38724a81..227e6d0143 100644 --- a/CRM/Financial/Form/FinancialAccount.php +++ b/CRM/Financial/Form/FinancialAccount.php @@ -39,7 +39,7 @@ class CRM_Financial_Form_FinancialAccount extends CRM_Contribute_Form { /** * Flag if its a AR account type. * - * @var boolean + * @var bool */ protected $_isARFlag = FALSE; @@ -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'