forked from extern/egroupware
Don't show private events in search results, even if user has freebusy permission
This commit is contained in:
parent
0a71419124
commit
50543c0115
@ -474,13 +474,13 @@ class calendar_bo
|
||||
}
|
||||
if ($is_private || (!$event['public'] && $filter == 'hideprivate'))
|
||||
{
|
||||
if($params['query'] && !$this->check_perms(EGW_ACL_FREEBUSY,$event))
|
||||
if($params['query'])
|
||||
{
|
||||
unset($events[$id]);
|
||||
$this->total--;
|
||||
continue;
|
||||
}
|
||||
else
|
||||
elseif($this->check_perms(EGW_ACL_FREEBUSY,$event))
|
||||
{
|
||||
$this->clear_private_infos($events[$id],$users);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user