Skip to content

Commit e165dcb

Browse files
Merge pull request #24357 from nextcloud/fix/vcf-export-group-multiline
Make sure we add new line between vcf groups exports
2 parents 82864ef + e18899a commit e165dcb

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
@@ -74,7 +74,7 @@ public function httpReport(RequestInterface $request, ResponseInterface $respons
7474

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

0 commit comments

Comments
 (0)