* All apps: group grants now again return inactive users, was broken since inactive users are no longer shown in user-selections

This commit is contained in:
Ralf Becker 2013-05-16 12:43:44 +00:00
parent 5bc3440442
commit 95cfb08502

View File

@ -714,8 +714,8 @@ class acl
if ($GLOBALS['egw']->accounts->get_type($grantor) == 'g' && $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->members($grantor, true) as $grantor)
// return the grant for each member of the group (false = also for no longer active users)
foreach((array)$GLOBALS['egw']->accounts->members($grantor, true, false) as $grantor)
{
if (!$grantor) continue; // can happen if group has no members