From c1b19e8aa9dc683fc1e373f07e2af68cc2fcb79e Mon Sep 17 00:00:00 2001 From: eileen Date: Wed, 21 Aug 2013 00:39:10 +1200 Subject: [PATCH] CRM-13234 add support for profile names on submit --- api/v3/Profile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v3/Profile.php b/api/v3/Profile.php index 70fb029789..d470a0620f 100644 --- a/api/v3/Profile.php +++ b/api/v3/Profile.php @@ -147,7 +147,7 @@ function _civicrm_api3_profile_get_spec(&$params) { * @return array API result array */ function civicrm_api3_profile_submit($params) { - + $profileID = _civicrm_api3_profile_getProfileID($params['profile_id']); if (!CRM_Core_DAO::getFieldValue('CRM_Core_DAO_UFGroup', $params['profile_id'], 'is_active')) { throw new API_Exception('Invalid value for profile_id'); } -- 2.25.1