Skip to content

Commit

Permalink
* CardDAV: photo was not saved/changed in PUT requests
Browse files Browse the repository at this point in the history
  • Loading branch information
ralfbecker committed Aug 24, 2018
1 parent 09a8647 commit 29d9a20
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions addressbook/inc/class.addressbook_groupdav.inc.php
Expand Up @@ -672,6 +672,7 @@ function put(&$options,$id,$user=null,$prefix=null)
}
if ($this->http_if_match) $contact['etag'] = self::etag2value($this->http_if_match);

$contact['photo_unchanged'] = false; // photo needs saving
if (!($save_ok = $is_group ? $this->save_group($contact, $oldContact) : $this->bo->save($contact)))
{
if ($this->debug) error_log(__METHOD__."(,$id) save(".array2string($contact).") failed, Ok=$save_ok");
Expand Down

0 comments on commit 29d9a20

Please sign in to comment.