display sender's name and email
authortokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 7 Nov 2005 19:33:56 +0000 (19:33 +0000)
committertokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 7 Nov 2005 19:33:56 +0000 (19:33 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10283 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/printer_friendly_bottom.php

index 44d73afc5a58f12c0c27197ee73d6d1ab8d48948..a407e3e73080d612c45b8b0983f39b0d67fda378 100644 (file)
@@ -237,7 +237,7 @@ function pf_show_attachments($message, $exclude_id, $mailbox, $id) {
             }
             $from_o = $rfc822_header->from;
             if (is_object($from_o)) {
-                $from_name = decodeHeader($from_o->getAddress(false));
+                $from_name = decodeHeader($from_o->getAddress(true));
             } else {
                 $from_name = _("Unknown sender");
             }