mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
only save sharing information if its given, eg. not the case for CardDAV
This commit is contained in:
parent
9567a1fed3
commit
6b57ddac00
@ -1164,10 +1164,10 @@ class Sql extends Api\Storage
|
||||
{
|
||||
parent::update($update);
|
||||
}
|
||||
// save sharing information
|
||||
if (!$err)
|
||||
// save sharing information, if given, eg. not the case for CardDAV
|
||||
if (!$err && isset($this->data['shared']))
|
||||
{
|
||||
$this->data['shared'] = $this->save_shared($this->data['id'], (array)$this->data['shared']);
|
||||
$this->data['shared'] = $this->save_shared($this->data['id'], $this->data['shared']);
|
||||
}
|
||||
return $err;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user