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:
a7d191b
)
CRM-15534 - Fix api.getfields to return custom fields from sub-types
author
Coleman Watts
<coleman@civicrm.org>
Thu, 30 Oct 2014 18:55:20 +0000
(14:55 -0400)
committer
Coleman Watts
<coleman@civicrm.org>
Thu, 30 Oct 2014 18:55:20 +0000
(14:55 -0400)
api/v3/utils.php
patch
|
blob
|
blame
|
history
diff --git
a/api/v3/utils.php
b/api/v3/utils.php
index 2f6a105deb517efbc3ffac0d75795a73f1d79788..aec042463e5b555e6b55054bb452f2c55b7a7da2 100644
(file)
--- a/
api/v3/utils.php
+++ b/
api/v3/utils.php
@@
-1651,7
+1651,7
@@
function _civicrm_api_get_custom_fields($entity, &$params) {
$customfields = CRM_Core_BAO_CustomField::getFields($entity,
FALSE,
FALSE,
- CRM_Utils_Array::value('contact_sub_type', $params
, FALSE
),
+ CRM_Utils_Array::value('contact_sub_type', $params),
NULL,
$retrieveOnlyParent,
FALSE,