quieten warning when no participants in function remove_no_acl_invite

This commit is contained in:
Klaus Leithoff 2011-02-01 14:31:07 +00:00
parent 155c6b1b2c
commit 4b257aedb3

View File

@ -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))
{