mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 16:33:17 +01:00
* fixed private contacts not synced
for an owner filter, which is NOT the current user, filter out private entries
This commit is contained in:
parent
a2f1f19a90
commit
f983b8569a
@ -278,7 +278,8 @@ class addressbook_sql extends so_sql_cf
|
||||
{
|
||||
if (!($filter['owner'] = array_intersect((array)$filter['owner'],array_keys($this->grants)))) return false;
|
||||
|
||||
$filter['private'] = 0;
|
||||
// for an owner filter, which is NOT the current user, filter out private entries
|
||||
if ($filter['owner'] != $GLOBALS['egw_info']['user']['account_id']) $filter['private'] = 0;
|
||||
}
|
||||
else // search all addressbooks, incl. accounts
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user