"Fixed problem reported by Eval Plantec on the developers list: no conflict of a group invitation with events of its members"

This commit is contained in:
Ralf Becker 2007-12-03 17:08:50 +00:00
parent 0da33526b7
commit c4bb7046a3

View File

@ -152,6 +152,11 @@ class bocalupdate extends bocal
{
if ($status[0] == 'R') continue; // ignore rejected participants
if ($uid < 0) // group, check it's members too
{
$users += $GLOBALS['egw']->accounts->members($uid,true);
$users = array_unique($users);
}
$users[] = $uid;
if (in_array($uid{0},$types_with_quantity))
{