Skip to content

Commit 74630c4

Browse files
authored
Merge pull request #24445 from nextcloud/backport/24357/stable18
[stable18] Make sure we add new line between vcf groups exports
2 parents b050c1f + 0efcd99 commit 74630c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/dav/lib/CardDAV/MultiGetExportPlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public function httpReport(RequestInterface $request, ResponseInterface $respons
7575

7676
// Reduce the vcards into one string
7777
$output = array_reduce($responseXml->getResponses(), function ($vcf, $card) {
78-
$vcf .= $card->getResponseProperties()[200]['{urn:ietf:params:xml:ns:carddav}address-data'];
78+
$vcf .= $card->getResponseProperties()[200]['{urn:ietf:params:xml:ns:carddav}address-data'] . PHP_EOL;
7979
return $vcf;
8080
}, '');
8181

0 commit comments

Comments
 (0)