summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJohannes Merkel <mail@johannesgge.de>2023-05-23 11:15:34 +0200
committerJohannes Merkel <mail@johannesgge.de>2023-05-23 11:15:34 +0200
commit5983ef001d3a2b92d896e9f71c7dcf280d04c7e9 (patch)
tree665cda234f373315c48d3874b208348b6c6c7e39 /apps
parent0713c1c4c6c7860fc792f0eab1ff712fce3fe14c (diff)
downloadnextcloud-server-5983ef001d3a2b92d896e9f71c7dcf280d04c7e9.tar.gz
nextcloud-server-5983ef001d3a2b92d896e9f71c7dcf280d04c7e9.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;
}