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 44d73af..a407e3e 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");
             }