diff options
author | alecpl <alec@alec.pl> | 2011-02-07 09:02:29 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-02-07 09:02:29 +0000 |
commit | cbf89140b3594bb7b44f8312f45c25c7c50965e8 (patch) | |
tree | 4a2376feec86b6bf3f3240233b5317bfd9d4bb33 /program | |
parent | 29aab5a214620621057bfb6ef3546fa55b451f22 (diff) |
- Fix vcard export (#1487765)
Diffstat (limited to 'program')
-rw-r--r-- | program/steps/addressbook/export.inc | 6 |
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"; } } |