diff --git a/calendar/inc/class.calendar_boupdate.inc.php b/calendar/inc/class.calendar_boupdate.inc.php index 3d68d9ec7d..c7de969139 100644 --- a/calendar/inc/class.calendar_boupdate.inc.php +++ b/calendar/inc/class.calendar_boupdate.inc.php @@ -452,7 +452,7 @@ class calendar_boupdate extends calendar_bo } } // 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])) {