fix switch of en/decode in mdn, thanks Masato HIGASHIYAMA (#1694687)
authorkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 25 Jun 2007 15:22:27 +0000 (15:22 +0000)
committerkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 25 Jun 2007 15:22:27 +0000 (15:22 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12465 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/read_body.php

index 1fb0ab6..e737e12 100644 (file)
@@ -142,7 +142,7 @@ function SendMDN ( $mailbox, $passed_id, $message, $imapConnection) {
     }
     $rfc822_header->content_type = $content_type;
     $rfc822_header->to[] = $header->dnt;
     }
     $rfc822_header->content_type = $content_type;
     $rfc822_header->to[] = $header->dnt;
-    $rfc822_header->subject = _("Read:") . ' ' . encodeHeader($header->subject);
+    $rfc822_header->subject = _("Read:") . ' ' . decodeHeader($header->subject,true,false);
 
     $idents = get_identities();
     $needles = array();
 
     $idents = get_identities();
     $needles = array();