From: Pradeep Nayak Date: Fri, 2 May 2014 19:07:50 +0000 (+0530) Subject: -- made financial account as required, CRM-14380 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=fd1ae183e310f9027dbcaf710f3ad2920877ca6f;p=civicrm-core.git -- made financial account as required, CRM-14380 ---------------------------------------- * CRM-14380: Adding a new Payment Instrument does not require account, results in unbalanced transactions https://issues.civicrm.org/jira/browse/CRM-14380 --- diff --git a/CRM/Admin/Form/Options.php b/CRM/Admin/Form/Options.php index ffced7de5f..cd2049cf33 100644 --- a/CRM/Admin/Form/Options.php +++ b/CRM/Admin/Form/Options.php @@ -197,7 +197,8 @@ class CRM_Admin_Form_Options extends CRM_Admin_Form { $financialAccount = CRM_Contribute_PseudoConstant::financialAccount(NULL, key($accountType)); $this->add('select', 'financial_account_id', ts('Financial Account'), - array('' => ts('- select -')) + $financialAccount + array('' => ts('- select -')) + $financialAccount, + TRUE ); }