Calendar: Fix group invitations were left out of "not rejected" filter

This commit is contained in:
nathan 2023-03-24 09:16:06 -06:00
parent d567897e9d
commit 0b5daa0fb6

View File

@ -507,7 +507,13 @@ class calendar_bo
// for groups we have to include the members
if ($GLOBALS['egw']->accounts->get_type($user) == 'g')
{
if ($no_enum_groups) continue;
// Include the group itself to catch group invitations
$users[] = $user;
if($no_enum_groups)
{
continue;
}
$members = $GLOBALS['egw']->accounts->members($user, true);
if(is_array($members))