summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJohannes Merkel <mail@johannesgge.de>2023-05-23 11:15:34 +0200
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>2023-05-23 14:08:35 +0000
commitd96200baedb89782b0a98f7e380869ac98bc70e7 (patch)
treef78f20561fdfbf1bab0bc5352b2e98f9d197545e /apps
parent713b9603a4e36a41efa0cd2c0ba88e4fa6ab893f (diff)
downloadnextcloud-server-d96200baedb89782b0a98f7e380869ac98bc70e7.tar.gz
nextcloud-server-d96200baedb89782b0a98f7e380869ac98bc70e7.zip
fix(SAB): Save avatar to SAB
Signed-off-by: Johannes Merkel <mail@johannesgge.de>
Diffstat (limited to 'apps')
-rw-r--r--apps/dav/lib/CardDAV/Converter.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/CardDAV/Converter.php b/apps/dav/lib/CardDAV/Converter.php
index d2d646a5a59..2257b229e80 100644
--- a/apps/dav/lib/CardDAV/Converter.php
+++ b/apps/dav/lib/CardDAV/Converter.php
@@ -60,7 +60,7 @@ class Converter {
$publish = false;
foreach ($userProperties as $property) {
- if (empty($property->getValue())) {
+ if ($property->getName() !== IAccountManager::PROPERTY_AVATAR && empty($property->getValue())) {
continue;
}