mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 16:33:17 +01:00
quieten warning when no participants in function remove_no_acl_invite
This commit is contained in:
parent
155c6b1b2c
commit
4b257aedb3
@ -403,7 +403,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