From 13941bb0e6b8a539f3465bc0377e9dac7f5abb90 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 24 Aug 2018 13:54:57 +0200 Subject: [PATCH] * CardDAV: photo was not saved/changed in PUT requests --- addressbook/inc/class.addressbook_groupdav.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/addressbook/inc/class.addressbook_groupdav.inc.php b/addressbook/inc/class.addressbook_groupdav.inc.php index 6c2148178e..5dd00edad1 100644 --- a/addressbook/inc/class.addressbook_groupdav.inc.php +++ b/addressbook/inc/class.addressbook_groupdav.inc.php @@ -672,6 +672,7 @@ class addressbook_groupdav extends Api\CalDAV\Handler } 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");