summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-04-15 15:26:16 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-04-15 15:26:16 +0000
commit28c52c097b7ddbeb8a89a517f91fc2ceefb3eeaf (patch)
tree54de7b61a76f91a76b010c729117d4c2621946cc /roundcubemail/program/steps
parentcdf4e346d56d03b9a51964dc438a9dfe8addee73 (diff)
Fix vcard folding at 75 chars; don't fold vcards for internal storage
git-svn-id: https://svn.roundcube.net/trunk@4657 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps')
-rw-r--r--roundcubemail/program/steps/addressbook/export.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/steps/addressbook/export.inc b/roundcubemail/program/steps/addressbook/export.inc
index 1f4f11936..69f8e2e0b 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'] . "\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";
}
}