mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-26 04:41:41 +02:00
* CardDAV/Addressbook: fixed OS X addressbook overwrites account with lowest id when creating a new contact
This commit is contained in:
parent
35deef9672
commit
1624457a91
@ -281,7 +281,7 @@ abstract class groupdav_handler
|
|||||||
return '403 Forbidden'; // no app rights
|
return '403 Forbidden'; // no app rights
|
||||||
}
|
}
|
||||||
$extra_acl = $this->method2acl[$method];
|
$extra_acl = $this->method2acl[$method];
|
||||||
if (!($entry = $this->read($id, $options['path'])) && ($method != 'PUT' || $entry === false) ||
|
if ($id && !($entry = $this->read($id, $options['path'])) && ($method != 'PUT' || $entry === false) ||
|
||||||
($extra_acl != EGW_ACL_READ && $this->check_access($extra_acl,$entry) === false))
|
($extra_acl != EGW_ACL_READ && $this->check_access($extra_acl,$entry) === false))
|
||||||
{
|
{
|
||||||
if ($return_no_access && !is_null($entry))
|
if ($return_no_access && !is_null($entry))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user