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:
2ba2ec7
)
Used buildoptions function to get all groups
author
Pradeep Nayak
<pradpnayak@gmail.com>
Wed, 19 Dec 2018 23:55:30 +0000
(23:55 +0000)
committer
Pradeep Nayak
<pradpnayak@gmail.com>
Mon, 4 Feb 2019 17:18:18 +0000
(17:18 +0000)
api/v3/Contact.php
patch
|
blob
|
blame
|
history
diff --git
a/api/v3/Contact.php
b/api/v3/Contact.php
index 07913f90017762b010cd6bd21901be04df7bc196..ed3a8158b4fe57f8f41f00982703c8d540a96541 100644
(file)
--- a/
api/v3/Contact.php
+++ b/
api/v3/Contact.php
@@
-430,7
+430,7
@@
function _civicrm_api3_contact_get_supportanomalies(&$params, &$options) {
}
if (isset($params['group'])) {
$groups = $params['group'];
- $allGroups = CRM_Co
re_PseudoConstant::group(
);
+ $allGroups = CRM_Co
ntact_BAO_GroupContact::buildOptions('group_id', 'validate'
);
if (is_array($groups) && in_array(key($groups), CRM_Core_DAO::acceptedSQLOperators(), TRUE)) {
// Get the groups array.
$groupsArray = $groups[key($groups)];