diff options
-rw-r--r-- | apps/dav/lib/CardDAV/Converter.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/dav/lib/CardDAV/Converter.php b/apps/dav/lib/CardDAV/Converter.php index 69c96f5ed65..0f4a6fb3f08 100644 --- a/apps/dav/lib/CardDAV/Converter.php +++ b/apps/dav/lib/CardDAV/Converter.php @@ -92,6 +92,7 @@ class Converter { } if($this->propertyNeedsUpdate($vCard, 'PHOTO', $image)) { + unset($vCard->PHOTO); $vCard->add('PHOTO', $image->data(), ['ENCODING' => 'b', 'TYPE' => $image->mimeType()]); $updated = true; } |