diff options
author | svncommit <devs@roundcube.net> | 2008-10-25 00:01:45 +0000 |
---|---|---|
committer | svncommit <devs@roundcube.net> | 2008-10-25 00:01:45 +0000 |
commit | c9ca6ada03f27bfe8c86f61f418afb86971f9dff (patch) | |
tree | b0369a4851c7e743181d0cc7da880c8d1c3e321c /program/steps | |
parent | 1971ddc1dd0eb9bf07f17f72dde48d7edca7b69b (diff) |
added obscure ASCII encoding aliases, added more error checking to RFC2822 date parsing
Diffstat (limited to 'program/steps')
-rw-r--r-- | program/steps/mail/show.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/steps/mail/show.inc b/program/steps/mail/show.inc index 4f5253883..4f0a3b032 100644 --- a/program/steps/mail/show.inc +++ b/program/steps/mail/show.inc @@ -24,7 +24,7 @@ $PRINT_MODE = $RCMAIL->action=='print' ? TRUE : FALSE; // similar code as in program/steps/mail/get.inc if ($_GET['_uid']) { $MESSAGE = new rcube_message(get_input_value('_uid', RCUBE_INPUT_GET)); - + // set message charset as default if (!empty($MESSAGE->headers->charset)) $IMAP->set_charset($MESSAGE->headers->charset); @@ -217,7 +217,7 @@ $OUTPUT->add_handlers(array( if ($RCMAIL->action=='print' && $OUTPUT->template_exists('printmessage')) $OUTPUT->send('printmessage'); else if ($RCMAIL->action=='preview' && $OUTPUT->template_exists('messagepreview')) - $OUTPUT->send('messagepreview'); + $OUTPUT->send('messagepreview'); else $OUTPUT->send('message'); ?> |