summaryrefslogtreecommitdiffstats
path: root/apps/dav
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-11-24 18:33:39 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-11-24 18:33:39 +0100
commite18899a06d830ebf127162035b5fc46c9332dc35 (patch)
tree6dd7029f27e31b0e9ae6f0c7d9593da72464b4df /apps/dav
parentf37155d28ba1bc805eeb3abd445d3d965ecb34bd (diff)
downloadnextcloud-server-e18899a06d830ebf127162035b5fc46c9332dc35.tar.gz
nextcloud-server-e18899a06d830ebf127162035b5fc46c9332dc35.zip
Make sure we add new line between vcf groups exports
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
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;
}, '');