From 9988c6b340fed5f4b1bf4e99a039a709ab1056e5 Mon Sep 17 00:00:00 2001 From: Michael McAndrew Date: Tue, 18 Oct 2016 14:50:51 +0100 Subject: [PATCH] contact_id should be marked as required on grant api --- api/v3/Grant.php | 1 + 1 file changed, 1 insertion(+) diff --git a/api/v3/Grant.php b/api/v3/Grant.php index 15fc110b7d..7ad621671e 100644 --- a/api/v3/Grant.php +++ b/api/v3/Grant.php @@ -54,6 +54,7 @@ function civicrm_api3_grant_create($params) { * Array of parameters determined by getfields. */ function _civicrm_api3_grant_create_spec(&$params) { + $params['contact_id']['api.required'] = 1; $params['grant_type_id']['api.required'] = 1; $params['status_id']['api.aliases'] = array('grant_status'); } -- 2.25.1