summaryrefslogtreecommitdiff
path: root/program/steps/mail/show.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-05-08 09:07:04 +0000
committeralecpl <alec@alec.pl>2008-05-08 09:07:04 +0000
commit583850d00cb61771333a19ed57bef753ac140fe0 (patch)
treea186a8e04e6bf8712b935bc06a5a048c719a4c5c /program/steps/mail/show.inc
parented5ed98bea879a801c11c66589395452b9b8087b (diff)
- Corrected message headers decoding when charset isn't specified and improved
support for native languages (#1485050, #1485048)
Diffstat (limited to 'program/steps/mail/show.inc')
-rw-r--r--program/steps/mail/show.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/show.inc b/program/steps/mail/show.inc
index 8062f4598..daf2e0859 100644
--- a/program/steps/mail/show.inc
+++ b/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']))