From 8a3e9578cf9341cc635697e2f4fce029e3c38acc Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Thu, 6 Aug 2015 00:06:12 +0000 Subject: [PATCH] PHPcs Fixes --- api/v3/Group.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v3/Group.php b/api/v3/Group.php index d0fe9e99ad..9326dd2cf4 100644 --- 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'])) { -- 2.25.1