forked from extern/egroupware
only save sharing information if its given, eg. not the case for CardDAV
This commit is contained in:
parent
f49481a784
commit
47da58aa92
@ -1164,10 +1164,10 @@ class Sql extends Api\Storage
|
|||||||
{
|
{
|
||||||
parent::update($update);
|
parent::update($update);
|
||||||
}
|
}
|
||||||
// save sharing information
|
// save sharing information, if given, eg. not the case for CardDAV
|
||||||
if (!$err)
|
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;
|
return $err;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user