* Calendar - Fix bug hiding a user's visible private events when just the group was selected

This commit is contained in:
nathangray 2018-01-11 09:33:33 -07:00
parent 2bf7597647
commit 0ec4708ba9

View File

@ -591,6 +591,10 @@ class calendar_bo
// resolve users to add memberships for users and members for groups
// for search, do NOT use freebusy rights, as it would allow to probe the content of event entries
$users = $this->resolve_users($params['users'], $params['filter'] == 'no-enum-groups', $params['ignore_acl'], empty($params['query']));
if($params['private_allowed'])
{
$params['private_allowed'] = $this->resolve_users($params['private_allowed'],$params['filter'] == 'no-enum-groups',$params['ignore_acl'], empty($params['query']));
}
// supply so with private_grants, to not query them again from the database
if (!empty($params['query']))