diff --git a/phpgwapi/inc/class.acl.inc.php b/phpgwapi/inc/class.acl.inc.php index 4c7c8d47ed..142678a518 100644 --- a/phpgwapi/inc/class.acl.inc.php +++ b/phpgwapi/inc/class.acl.inc.php @@ -731,7 +731,7 @@ // if the right is granted from a group and we enummerated group ACL's if ($GLOBALS['egw']->accounts->get_type($grantor) == 'g' && $enum_group_acls && - (!is_array($enum_group_acls) || in_array($grantor,$enum_group_acls))) + (!is_array($enum_group_acls) || !in_array($grantor,$enum_group_acls))) { // return the grant for each member of the group foreach((array)$GLOBALS['egw']->accounts->member($grantor) as $member)