-- made financial account as required, CRM-14380
authorPradeep Nayak <pradeep.nayak@webaccess.co.in>
Fri, 2 May 2014 19:07:50 +0000 (00:37 +0530)
committerPradeep Nayak <pradeep.nayak@webaccess.co.in>
Fri, 2 May 2014 19:07:50 +0000 (00:37 +0530)
----------------------------------------
* CRM-14380: Adding a new Payment Instrument does not require account, results in unbalanced transactions
  https://issues.civicrm.org/jira/browse/CRM-14380

CRM/Admin/Form/Options.php

index ffced7de5f1a69a17690ad6979597c043a1f9864..cd2049cf33d884b325273ad3af4568e6e6d2dc47 100644 (file)
@@ -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
       );
     }