| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
*
if (isset($this->_id)) {
$params = array('id' => $this->_id);
- if (!empty( $this->_BAOName)) {
+ if (!empty($this->_BAOName)) {
$baoName = $this->_BAOName;
$baoName::retrieve($params, $defaults);
}
}
elseif ($this->_action == CRM_Core_Action::ADD) {
$condition = " AND is_default = 1";
- $values = CRM_Core_OptionGroup::values('financial_account_type', false, false, false, $condition);
+ $values = CRM_Core_OptionGroup::values('financial_account_type', FALSE, FALSE, FALSE, $condition);
$defaults['financial_account_type_id'] = array_keys($values);
$defaults['is_active'] = 1;