From 407ead5e75df42625ca9efff43843152880af399 Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <thomas@roundcube.net>
Date: Mon, 15 Oct 2012 08:29:08 -0400
Subject: [PATCH] Fix header charset decoding when opening a draft message

---
 program/steps/mail/compose.inc |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc
index a275394..a4f5f34 100644
--- a/program/steps/mail/compose.inc
+++ b/program/steps/mail/compose.inc
@@ -426,6 +426,8 @@
       $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

--
Gitblit v1.9.1