* Calendar: fixed not working "hideprivate" filter (shows own private events as private, not NOT showing them)

This commit is contained in:
Ralf Becker 2011-03-23 08:14:43 +00:00
parent 052d31c168
commit 8d8ddf64ba

View File

@ -473,12 +473,6 @@ class calendar_bo
}
if ($is_private || (!$event['public'] && $filter == 'hideprivate'))
{
if($filter == 'hideprivate')
{
unset($events[$id]);
$this->total--;
continue;
}
$this->clear_private_infos($events[$id],$users);
}
}