quieten warning when no participants in function remove_no_acl_invite

This commit is contained in:
Klaus Leithoff 2011-02-01 14:28:56 +00:00
parent b7f7cae531
commit 4e07a37116

View File

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