summaryrefslogtreecommitdiff
path: root/program/steps/mail/compose.inc
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2012-10-15 14:24:30 +0200
committerThomas Bruederli <thomas@roundcube.net>2012-10-15 14:24:30 +0200
commit27be4e7644637255d7adbf5386ec883d9c2c64cd (patch)
treed1bb55eb191221271c9c93c654f263046bdc9406 /program/steps/mail/compose.inc
parent5f409583008dfbfa4b5e160f7ec9b1cc7a4766d2 (diff)
Fix header charset decoding when opening a draft message
Diffstat (limited to 'program/steps/mail/compose.inc')
-rw-r--r--program/steps/mail/compose.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc
index 04efe7df5..fd34ee098 100644
--- a/program/steps/mail/compose.inc
+++ b/program/steps/mail/compose.inc
@@ -423,6 +423,8 @@ foreach ($parts as $header) {
$fvalue = $MESSAGE->get_header('reply-to');
else if ($header=='followupto' && !empty($MESSAGE->headers->others['mail-followup-to']))
$fvalue = $MESSAGE->get_header('mail-followup-to');
+
+ $decode_header = false; // $MESSAGE->get_header() returns already decoded header values
}
// split recipients and put them back together in a unique way