summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-02-07 09:02:29 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-02-07 09:02:29 +0000
commit5c08e8bed55a67733b3004aa78523efcdc3d0fe1 (patch)
treeb4738930463c832b1b3483185146272c83486203
parenta3c59989e0b28097266cc5b5cbfb8ab2ecf2b5e4 (diff)
- Fix vcard export (#1487765)
git-svn-id: https://svn.roundcube.net/trunk@4501 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/program/steps/addressbook/export.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/roundcubemail/program/steps/addressbook/export.inc b/roundcubemail/program/steps/addressbook/export.inc
index 509be596f..1f4f11936 100644
--- a/roundcubemail/program/steps/addressbook/export.inc
+++ b/roundcubemail/program/steps/addressbook/export.inc
@@ -32,7 +32,7 @@ header('Content-Disposition: attachment; filename="rcube_contacts.vcf"');
while ($result && ($row = $result->next())) {
// we already have a vcard record
if ($row['vcard']) {
- echo $row['vcard'];
+ echo $row['vcard'] . "\n";
}
// copy values into vcard object
else {
@@ -45,8 +45,8 @@ while ($result && ($row = $result->next())) {
$vcard->set($field, $value, strtoupper($section));
}
}
-
- echo $vcard->export();
+
+ echo $vcard->export() . "\n";
}
}