]> source.dussan.org Git - nextcloud-server.git/commitdiff
Make sure we add new line between vcf groups exports 24443/head
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Tue, 24 Nov 2020 17:33:39 +0000 (18:33 +0100)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Mon, 30 Nov 2020 08:13:46 +0000 (08:13 +0000)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
apps/dav/lib/CardDAV/MultiGetExportPlugin.php

index bb911ffc033ef83bac81f585ae84bdb959f89e62..e4154b53c3603a6d9644e7055097e5fcd9d92ca0 100644 (file)
@@ -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;
                }, '');