From 583850d00cb61771333a19ed57bef753ac140fe0 Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Thu, 08 May 2008 05:07:04 -0400 Subject: [PATCH] - Corrected message headers decoding when charset isn't specified and improved support for native languages (#1485050, #1485048) --- program/steps/mail/show.inc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/program/steps/mail/show.inc b/program/steps/mail/show.inc index 8062f45..daf2e08 100644 --- a/program/steps/mail/show.inc +++ b/program/steps/mail/show.inc @@ -61,7 +61,7 @@ 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'])) -- Gitblit v1.9.1