summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-02-07 09:02:29 +0000
committeralecpl <alec@alec.pl>2011-02-07 09:02:29 +0000
commitcbf89140b3594bb7b44f8312f45c25c7c50965e8 (patch)
tree4a2376feec86b6bf3f3240233b5317bfd9d4bb33 /program
parent29aab5a214620621057bfb6ef3546fa55b451f22 (diff)
- Fix vcard export (#1487765)
Diffstat (limited to 'program')
-rw-r--r--program/steps/addressbook/export.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/program/steps/addressbook/export.inc b/program/steps/addressbook/export.inc
index 509be596f..1f4f11936 100644
--- a/program/steps/addressbook/export.inc
+++ b/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";
}
}