From 8e262d9e5916cd6ef04d5c9ec184a5b6757035d9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?John=20Molakvo=C3=A6=20=28skjnldsv=29?= Date: Tue, 24 Nov 2020 18:33:39 +0100 Subject: [PATCH] Make sure we add new line between vcf groups exports MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- apps/dav/lib/CardDAV/MultiGetExportPlugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }, ''); -- 2.39.5