Make sure we add new line between vcf groups exports
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
c1e993333e
commit
8e262d9e59
|
@ -74,7 +74,7 @@ class MultiGetExportPlugin extends DAV\ServerPlugin {
|
||||||
|
|
||||||
// Reduce the vcards into one string
|
// Reduce the vcards into one string
|
||||||
$output = array_reduce($responseXml->getResponses(), function ($vcf, $card) {
|
$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;
|
return $vcf;
|
||||||
}, '');
|
}, '');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue