diff options
Diffstat (limited to 'program/steps/mail/viewsource.inc')
-rw-r--r-- | program/steps/mail/viewsource.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/viewsource.inc b/program/steps/mail/viewsource.inc index 17e382456..2e2228ab6 100644 --- a/program/steps/mail/viewsource.inc +++ b/program/steps/mail/viewsource.inc @@ -25,7 +25,7 @@ ob_end_clean(); if ($uid = get_input_value('_uid', RCUBE_INPUT_GET)) { $headers = $IMAP->get_headers($uid); - $charset = $headers->charset ? $headers->charset : $IMAP->default_charset; + $charset = $headers->charset ? $headers->charset : $CONFIG['default_charset']; header("Content-Type: text/plain; charset={$charset}"); if (!empty($_GET['_save'])) { |