From: John Molakvoæ (skjnldsv) Date: Tue, 24 Nov 2020 17:33:39 +0000 (+0100) Subject: Make sure we add new line between vcf groups exports X-Git-Tag: v20.0.3RC2~34^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8e262d9e5916cd6ef04d5c9ec184a5b6757035d9;p=nextcloud-server.git Make sure we add new line between vcf groups exports Signed-off-by: John Molakvoæ (skjnldsv) --- diff --git a/apps/dav/lib/CardDAV/MultiGetExportPlugin.php b/apps/dav/lib/CardDAV/MultiGetExportPlugin.php index bb911ffc033..e4154b53c36 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; }, '');