diff options
author | thomascube <thomas@roundcube.net> | 2011-04-15 15:26:16 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2011-04-15 15:26:16 +0000 |
commit | 569f8306db3f61831795f15793b1c8f749f94779 (patch) | |
tree | 1fa4d63fd5c189453e1ddae45db22adae843d753 /program/steps/addressbook | |
parent | 5c4c06665c23d9b8fe3d6a47e15d0b3f6daee368 (diff) |
Fix vcard folding at 75 chars; don't fold vcards for internal storage
Diffstat (limited to 'program/steps/addressbook')
-rw-r--r-- | program/steps/addressbook/export.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/steps/addressbook/export.inc b/program/steps/addressbook/export.inc index 1f4f11936..69f8e2e0b 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'] . "\n"; + echo rcube_vcard::rfc2425_fold($row['vcard']) . "\n"; } // copy values into vcard object else { @@ -46,7 +46,7 @@ while ($result && ($row = $result->next())) { } } - echo $vcard->export() . "\n"; + echo $vcard->export(true) . "\n"; } } |