diff --git a/calendar/inc/class.calendar_uiforms.inc.php b/calendar/inc/class.calendar_uiforms.inc.php index f0e9335e04..1ef956d259 100644 --- a/calendar/inc/class.calendar_uiforms.inc.php +++ b/calendar/inc/class.calendar_uiforms.inc.php @@ -2954,7 +2954,7 @@ class calendar_uiforms extends calendar_ui else { // Group membership - foreach($event['participants'] as $id => $status) + foreach(array_keys($event['participants']) as $id) { if($GLOBALS['egw']->accounts->get_type($id) == 'g' && in_array($uid,$GLOBALS['egw']->accounts->members($id,true))) {