----------------------------------------
* CRM-16526: ACLs for Financial Types
https://issues.civicrm.org/jira/browse/CRM-16526
if (CRM_Financial_BAO_FinancialType::isACLFinancialTypeStatus()) {
CRM_Financial_BAO_FinancialType::getAvailableFinancialTypes($types, $op);
if (!in_array($params['financial_type_id'], array_keys($types))) {
- throw new API_Exception('You do not have permission to create this line item');
+ throw new Exception('You do not have permission to create this line item');
}
}