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:
e7d6f8f
)
PHPcs Fixes
author
Seamus Lee
<seamuslee001@gmail.com>
Thu, 6 Aug 2015 00:06:12 +0000
(
00:06
+0000)
committer
Seamus Lee
<seamuslee001@gmail.com>
Thu, 6 Aug 2015 00:06:12 +0000
(
00:06
+0000)
api/v3/Group.php
patch
|
blob
|
blame
|
history
diff --git
a/api/v3/Group.php
b/api/v3/Group.php
index d0fe9e99ad65c690887d232f2d88ec4fc4fbfe42..9326dd2cf41abbd50233ff614abae162f4475a40 100644
(file)
--- a/
api/v3/Group.php
+++ b/
api/v3/Group.php
@@
-77,7
+77,7
@@
function civicrm_api3_group_get($params) {
$groups = _civicrm_api3_basic_get(_civicrm_api3_get_BAO(__FUNCTION__), $params, FALSE, 'Group');
foreach ($groups as $id => $group) {
- if(!empty($params['check_permissions']) && !CRM_Contact_BAO_Group::checkPermission($group['id'])) {
+ if
(!empty($params['check_permissions']) && !CRM_Contact_BAO_Group::checkPermission($group['id'])) {
unset($groups[$id]);
}
elseif (!empty($options['return']) && in_array('member_count', $options['return'])) {