Browse Source

Make sure we add new line between vcf groups exports

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
tags/v21.0.0beta1
John Molakvoæ (skjnldsv) 3 years ago
parent
commit
e18899a06d
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      apps/dav/lib/CardDAV/MultiGetExportPlugin.php

+ 1
- 1
apps/dav/lib/CardDAV/MultiGetExportPlugin.php View 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;
}, '');


Loading…
Cancel
Save