From 8c57f5977d47707a99368ed9adb8db18d88fc352 Mon Sep 17 00:00:00 2001 From: thomascube Date: Wed, 2 Feb 2011 18:36:16 +0000 Subject: Don't decode already decoded from header --- program/steps/mail/compose.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/steps/mail') diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc index 335945c5c..b2cd584a0 100644 --- a/program/steps/mail/compose.inc +++ b/program/steps/mail/compose.inc @@ -732,7 +732,7 @@ function rcmail_create_reply_body($body, $bodyIsHtml) 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'])); -- cgit v1.2.3