X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=api%2Fv3%2FGrant.php;h=ad000b7004edf8682d703854476d6ef49e61b8f5;hb=86128f7ae6ab7f8541d6d60664464c1f86fcf6a5;hp=a93b5290d35b8917129fff24cd62695827687d20;hpb=0e4e45435dc33f16b49a4093ac25158728251213;p=civicrm-core.git diff --git a/api/v3/Grant.php b/api/v3/Grant.php index a93b5290d3..ad000b7004 100644 --- a/api/v3/Grant.php +++ b/api/v3/Grant.php @@ -3,7 +3,7 @@ +--------------------------------------------------------------------+ | CiviCRM version 5 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2017 | + | Copyright CiviCRM LLC (c) 2004-2019 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -58,7 +58,7 @@ function _civicrm_api3_grant_create_spec(&$params) { $params['grant_type_id']['api.required'] = 1; $params['status_id']['api.required'] = 1; $params['amount_total']['api.required'] = 1; - $params['status_id']['api.aliases'] = array('grant_status'); + $params['status_id']['api.aliases'] = ['grant_status']; } /**