mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
Fix hideprivate / showonlypublic filters
This commit is contained in:
parent
9db4532ca6
commit
8d81db64af
@ -474,7 +474,7 @@ class calendar_bo
|
||||
}
|
||||
if ($is_private || (!$event['public'] && $filter == 'hideprivate'))
|
||||
{
|
||||
if($filter == 'hideprivate')
|
||||
if($filter == 'showonlypublic')
|
||||
{
|
||||
unset($events[$id]);
|
||||
$this->total--;
|
||||
|
Loading…
Reference in New Issue
Block a user