From 5c08e8bed55a67733b3004aa78523efcdc3d0fe1 Mon Sep 17 00:00:00 2001 From: alec Date: Mon, 7 Feb 2011 09:02:29 +0000 Subject: - Fix vcard export (#1487765) git-svn-id: https://svn.roundcube.net/trunk@4501 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/steps/addressbook/export.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'roundcubemail/program') 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"; } } -- cgit v1.2.3