diff --git a/calendar/inc/class.calendar_bo.inc.php b/calendar/inc/class.calendar_bo.inc.php index 144c9a78de..33425e4c5c 100644 --- a/calendar/inc/class.calendar_bo.inc.php +++ b/calendar/inc/class.calendar_bo.inc.php @@ -344,7 +344,7 @@ class calendar_bo // for groups we have to include the members if ($GLOBALS['egw']->accounts->get_type($user) == 'g') { - if ($params['filter'] == 'no-enum-groups') continue; + if ($no_enum_groups) continue; $members = $GLOBALS['egw']->accounts->member($user); if (is_array($members))