diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2020-11-24 18:33:39 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2020-11-24 18:33:39 +0100 |
commit | e18899a06d830ebf127162035b5fc46c9332dc35 (patch) | |
tree | 6dd7029f27e31b0e9ae6f0c7d9593da72464b4df /apps/dav | |
parent | f37155d28ba1bc805eeb3abd445d3d965ecb34bd (diff) | |
download | nextcloud-server-e18899a06d830ebf127162035b5fc46c9332dc35.tar.gz nextcloud-server-e18899a06d830ebf127162035b5fc46c9332dc35.zip |
Make sure we add new line between vcf groups exports
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/dav')
-rw-r--r-- | apps/dav/lib/CardDAV/MultiGetExportPlugin.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/CardDAV/MultiGetExportPlugin.php b/apps/dav/lib/CardDAV/MultiGetExportPlugin.php index e2dbb049bf0..7314aef2dac 100644 --- a/apps/dav/lib/CardDAV/MultiGetExportPlugin.php +++ b/apps/dav/lib/CardDAV/MultiGetExportPlugin.php @@ -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; }, ''); |