summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps/mail/show.inc
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-05-08 09:07:04 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-05-08 09:07:04 +0000
commitb6211cebec01da66e6e7ee71896e0d5f87830df2 (patch)
treeb962faa270f2ceef65e9ff530399a7611ca6c775 /roundcubemail/program/steps/mail/show.inc
parent6372b614e722f6c19a06bb6ead03a30c116a4389 (diff)
- Corrected message headers decoding when charset isn't specified and improved
support for native languages (#1485050, #1485048) git-svn-id: https://svn.roundcube.net/trunk@1366 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/mail/show.inc')
-rw-r--r--roundcubemail/program/steps/mail/show.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/show.inc b/roundcubemail/program/steps/mail/show.inc
index 8062f4598..daf2e0859 100644
--- a/roundcubemail/program/steps/mail/show.inc
+++ b/roundcubemail/program/steps/mail/show.inc
@@ -61,7 +61,7 @@ if ($_GET['_uid'])
else if (empty($CONFIG['devel_mode']))
send_modified_header($_SESSION['login_time'], $etag, !$MESSAGE['headers']->seen);
- $MESSAGE['subject'] = rcube_imap::decode_mime_string($MESSAGE['headers']->subject, $MESSAGE['headers']->charset);
+ $MESSAGE['subject'] = $IMAP->decode_header($MESSAGE['headers']->subject);
$OUTPUT->set_pagetitle($MESSAGE['subject']);
if ($MESSAGE['structure'] = $IMAP->get_structure($MESSAGE['UID']))