mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
quieten warning when no participants in function remove_no_acl_invite
This commit is contained in:
parent
b7f7cae531
commit
4e07a37116
@ -408,7 +408,7 @@ class calendar_boupdate extends calendar_bo
|
||||
$old_event = $this->read($event['id']);
|
||||
}
|
||||
$removed = array();
|
||||
foreach($event['participants'] as $uid => $status)
|
||||
foreach((array)$event['participants'] as $uid => $status)
|
||||
{
|
||||
if ((is_null($old_event) || !isset($old_event['participants'][$uid])) && !$this->check_acl_invite($uid))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user