* Calendar: fixed not working filter "only group events", to not include events of members

This commit is contained in:
Ralf Becker 2013-08-15 16:02:52 +00:00
parent f8c74b2725
commit 183a326cb0

View File

@ -351,7 +351,7 @@ class calendar_bo
// for groups we have to include the members // for groups we have to include the members
if ($GLOBALS['egw']->accounts->get_type($user) == 'g') 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); $members = $GLOBALS['egw']->accounts->member($user);
if (is_array($members)) if (is_array($members))