Changes to code

This commit is contained in:
2018-08-11 23:21:25 +05:30
parent 0c4fe4ccd6
commit b5c998846e
5 changed files with 37 additions and 6 deletions

View File

@ -13,6 +13,9 @@
* @return array
*/
function civicrm_api3_grant_budget_create($params) {
if (!empty($params['budget'])) {
$params['budget'] = CRM_Utils_Rule::cleanMoney($params['budget']);
}
return _civicrm_api3_basic_create(_civicrm_api3_get_BAO(__FUNCTION__), $params, 'GrantBudget');
}