mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 23:29:31 +01:00
ensure accounts and group addressbooks are never private!
This commit is contained in:
parent
c416620538
commit
b52ba62441
@ -793,9 +793,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