projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0b4442
)
CRM-13234 add support for profile names on submit
author
eileen
<eileen@fuzion.co.nz>
Tue, 20 Aug 2013 12:39:10 +0000
(
00:39
+1200)
committer
eileen
<eileen@fuzion.co.nz>
Tue, 20 Aug 2013 12:39:10 +0000
(
00:39
+1200)
api/v3/Profile.php
patch
|
blob
|
blame
|
history
diff --git
a/api/v3/Profile.php
b/api/v3/Profile.php
index 70fb0297898679b63df26375b7208610fcb62ab7..d470a0620f3abcb009d4381ca4b4eb9f7177cc29 100644
(file)
--- 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');
}