"fix warning if no participants defined (eg. iCal import)"

This commit is contained in:
Ralf Becker 2010-04-14 08:41:45 +00:00
parent ff567e04e5
commit e5c782ca8e

View File

@ -452,7 +452,7 @@ class calendar_boupdate extends calendar_bo
} }
} }
// Find new participants ... // Find new participants ...
foreach($new_event['participants'] as $new_userid => $new_status) foreach((array)$new_event['participants'] as $new_userid => $new_status)
{ {
if(!isset($old_event['participants'][$new_userid])) if(!isset($old_event['participants'][$new_userid]))
{ {