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.
This commit is contained in:
Klaus Leithoff 2008-01-31 12:23:46 +00:00
parent 5b699573e4
commit a0cee847a2

View File

@ -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)