aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2020-11-25 12:24:27 +0100
committerGitHub <noreply@github.com>2020-11-25 12:24:27 +0100
commite165dcbe35b68ddfab5ad07d5271c869a890825b (patch)
treef15931e2a91324b34ccbc4faec7a849ea1f9e0b9 /apps/dav
parent82864ef8a7adab5195c1e49081c37601ee81ca8f (diff)
parente18899a06d830ebf127162035b5fc46c9332dc35 (diff)
downloadnextcloud-server-e165dcbe35b68ddfab5ad07d5271c869a890825b.tar.gz
nextcloud-server-e165dcbe35b68ddfab5ad07d5271c869a890825b.zip
Merge pull request #24357 from nextcloud/fix/vcf-export-group-multiline
Make sure we add new line between vcf groups exports
Diffstat (limited to 'apps/dav')
-rw-r--r--apps/dav/lib/CardDAV/MultiGetExportPlugin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/CardDAV/MultiGetExportPlugin.php b/apps/dav/lib/CardDAV/MultiGetExportPlugin.php
index e2dbb049bf0..7314aef2dac 100644
--- a/apps/dav/lib/CardDAV/MultiGetExportPlugin.php
+++ b/apps/dav/lib/CardDAV/MultiGetExportPlugin.php
@@ -74,7 +74,7 @@ class MultiGetExportPlugin extends DAV\ServerPlugin {
// Reduce the vcards into one string
$output = array_reduce($responseXml->getResponses(), function ($vcf, $card) {
- $vcf .= $card->getResponseProperties()[200]['{urn:ietf:params:xml:ns:carddav}address-data'];
+ $vcf .= $card->getResponseProperties()[200]['{urn:ietf:params:xml:ns:carddav}address-data'] . PHP_EOL;
return $vcf;
}, '');