From a0cee847a22151f8d8e14aead5c77277151e2b0c Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Thu, 31 Jan 2008 12:23:46 +0000 Subject: [PATCH] small bugfix while getting the grants, since analyzing grants for read/write access in infolog returned less results than expected. this was suggested by Ralf for testing. --- phpgwapi/inc/class.acl.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)