diff options
Diffstat (limited to 'apps/dav/lib/CardDAV/AddressBookImpl.php')
-rw-r--r-- | apps/dav/lib/CardDAV/AddressBookImpl.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/CardDAV/AddressBookImpl.php b/apps/dav/lib/CardDAV/AddressBookImpl.php index 2f7f0a22900..c385d0e7b86 100644 --- a/apps/dav/lib/CardDAV/AddressBookImpl.php +++ b/apps/dav/lib/CardDAV/AddressBookImpl.php @@ -273,7 +273,7 @@ class AddressBookImpl implements IAddressBook { ]; foreach ($vCard->children() as $property) { - if ($property->name === 'PHOTO' && $property->getValueType() === 'BINARY') { + if ($property->name === 'PHOTO' && in_array($property->getValueType(), ['BINARY', 'URI'])) { $url = $this->urlGenerator->getAbsoluteURL( $this->urlGenerator->linkTo('', 'remote.php') . '/dav/'); $url .= implode('/', [ |