From 8c57f5977d47707a99368ed9adb8db18d88fc352 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Wed, 02 Feb 2011 13:36:16 -0500
Subject: [PATCH] Don't decode already decoded from header
---
program/steps/mail/compose.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc
index 335945c..b2cd584 100644
--- a/program/steps/mail/compose.inc
+++ b/program/steps/mail/compose.inc
@@ -732,7 +732,7 @@
global $RCMAIL, $MESSAGE, $LINE_LENGTH;
// build reply prefix
- $from = array_pop($RCMAIL->imap->decode_address_list($MESSAGE->get_header('from')));
+ $from = array_pop($RCMAIL->imap->decode_address_list($MESSAGE->get_header('from'), 1, false));
$prefix = sprintf("On %s, %s wrote:",
$MESSAGE->headers->date, $from['name'] ? $from['name'] : idn_to_utf8($from['mailto']));
--
Gitblit v1.9.1