forked from extern/egroupware
ensure accounts and group addressbooks are never private!
This commit is contained in:
parent
89991ffb60
commit
c2750ba12b
@ -816,9 +816,10 @@ class addressbook_bo extends addressbook_so
|
||||
|
||||
if (!$contact['tid']) $contact['tid'] = 'n';
|
||||
}
|
||||
if (!$contact['owner'])
|
||||
// ensure accounts and group addressbooks are never private!
|
||||
if ($contact['owner'] <= 0)
|
||||
{
|
||||
$contact['private'] = 0; // accounts are never private!
|
||||
$contact['private'] = 0;
|
||||
}
|
||||
if(!$ignore_acl && !$this->check_perms($isUpdate ? EGW_ACL_EDIT : EGW_ACL_ADD,$contact))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user