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:
3d0d359
)
another comment fix
author
Eileen McNaughton
<eileen@fuzion.co.nz>
Sat, 24 May 2014 04:49:40 +0000
(16:49 +1200)
committer
Eileen McNaughton
<eileen@fuzion.co.nz>
Sat, 24 May 2014 05:49:04 +0000
(17:49 +1200)
api/v3/Profile.php
patch
|
blob
|
blame
|
history
diff --git
a/api/v3/Profile.php
b/api/v3/Profile.php
index 4f337da33c0f1596ec8d4f15b096205cd6c8a644..7ed5c434da0e09cf4f458d603c3b81636a094404 100644
(file)
--- a/
api/v3/Profile.php
+++ b/
api/v3/Profile.php
@@
-686,7
+686,12
@@
function _civicrm_api3_map_profile_fields_to_entity(&$field) {
/**
* @todo this should be handled by the api wrapper using getfields info - need to check
- * how we add a a pseudoconstant to this pseudoapi to make that work
+ * how we add a a pseudoconstant to this pseudo api to make that work
+ *
+ * @param $profileID
+ *
+ * @return array
+ * @throws CiviCRM_API3_Exception
*/
function _civicrm_api3_profile_getProfileID($profileID) {
if(!empty($profileID) && strtolower($profileID) != 'billing' && !is_numeric($profileID)) {