소스 검색

display sender's name and email

tokul 20 년 전
부모
커밋
2fcf91dc94
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/printer_friendly_bottom.php

+ 1 - 1
src/printer_friendly_bottom.php

@@ -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");
             }