summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2012-10-15 14:29:08 +0200
committerThomas Bruederli <thomas@roundcube.net>2012-10-15 14:29:08 +0200
commit407ead5e75df42625ca9efff43843152880af399 (patch)
treea4e3f5b861cb7ace0318e00b4a8c9d8b03a3e860
parent821d3c49629d3f05cfbe67d0cbd623e482cd0543 (diff)
Fix header charset decoding when opening a draft message
-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 a275394fd..a4f5f346b 100644
--- a/program/steps/mail/compose.inc
+++ b/program/steps/mail/compose.inc
@@ -426,6 +426,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