mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
"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:
parent
1e7fa3983a
commit
4baff7907b
@ -151,7 +151,12 @@ class bocalupdate extends bocal
|
|||||||
foreach($event['participants'] as $uid => $status)
|
foreach($event['participants'] as $uid => $status)
|
||||||
{
|
{
|
||||||
if ($status[0] == 'R') continue; // ignore rejected participants
|
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;
|
$users[] = $uid;
|
||||||
if (in_array($uid{0},$types_with_quantity))
|
if (in_array($uid{0},$types_with_quantity))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user