summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps/addressbook
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-06-22 16:20:34 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-06-22 16:20:34 +0000
commitf99ab196a4197253f598652dfc5877bf84ccb90b (patch)
tree1c92717b743b611fd8ce1cf7e04c581cd351bbd4 /roundcubemail/program/steps/addressbook
parent9acb4569bc7047b715f422a1301dc6a570416555 (diff)
- use RCMAIL_CHARSET instead of hardcoded 'utf-8'
git-svn-id: https://svn.roundcube.net/trunk@2672 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/addressbook')
-rw-r--r--roundcubemail/program/steps/addressbook/export.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/addressbook/export.inc b/roundcubemail/program/steps/addressbook/export.inc
index d49fbe997..101006f87 100644
--- a/roundcubemail/program/steps/addressbook/export.inc
+++ b/roundcubemail/program/steps/addressbook/export.inc
@@ -26,7 +26,7 @@ $result = $CONTACTS->list_records();
// send downlaod headers
send_nocacheing_headers();
-header('Content-Type: text/x-vcard; charset=UTF-8');
+header('Content-Type: text/x-vcard; charset='.RCMAIL_CHARSET);
header('Content-Disposition: attachment; filename="rcube_contacts.vcf"');
while ($result && ($row = $result->next())) {