mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-30 03:43:40 +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 ($is_private || (!$event['public'] && $filter == 'hideprivate'))
|
||||||
{
|
{
|
||||||
if($filter == 'hideprivate')
|
if($filter == 'showonlypublic')
|
||||||
{
|
{
|
||||||
unset($events[$id]);
|
unset($events[$id]);
|
||||||
$this->total--;
|
$this->total--;
|
||||||
|
Loading…
Reference in New Issue
Block a user