From 04ea844efd59ab3b452d380d064076c5b2e5cedf Mon Sep 17 00:00:00 2001 From: alex-brainstorm Date: Mon, 1 Sep 2003 00:27:28 +0000 Subject: [PATCH] Fixes _(Unknown sender) from being html encoded git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5600 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/mime.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/functions/mime.php b/functions/mime.php index 1f171c24..f5968d73 100644 --- a/functions/mime.php +++ b/functions/mime.php @@ -441,11 +441,10 @@ function formatAttachments($message, $exclude_id, $mailbox, $id) { } $from_o = $rfc822_header->from; if (is_object($from_o)) { - $from_name = $from_o->getAddress(false); + $from_name = decodeHeader($from_o->getAddress(false)); } else { $from_name = _("Unknown sender"); } - $from_name = decodeHeader(($from_name)); $description = $from_name; } else { $default_page = SM_PATH . 'src/download.php'; -- 2.25.1