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:
40a60af
)
CRM-13179 per Dave's comment I agree that this is a bogus error. Removing this check...
author
eileen
<eileen@fuzion.co.nz>
Sun, 18 Aug 2013 04:57:20 +0000
(16:57 +1200)
committer
eileen
<eileen@fuzion.co.nz>
Sun, 18 Aug 2013 04:57:20 +0000
(16:57 +1200)
api/v3/Profile.php
patch
|
blob
|
blame
|
history
diff --git
a/api/v3/Profile.php
b/api/v3/Profile.php
index 4393a1265788d1809835db6c35cc926213bc0fd8..305439aa425387e10a8e787f6a04764fe6e0c47f 100644
(file)
--- a/
api/v3/Profile.php
+++ b/
api/v3/Profile.php
@@
-75,10
+75,6
@@
function civicrm_api3_profile_get($params) {
$isContactActivityProfile = CRM_Core_BAO_UFField::checkContactActivityProfileType($profileID);
- if (CRM_Core_BAO_UFField::checkProfileType($profileID) && !$isContactActivityProfile) {
- throw new API_Exception('Can not retrieve values for profiles include fields for more than one record type.');
- }
-
$profileFields = CRM_Core_BAO_UFGroup::getFields($profileID,
FALSE,
NULL,