bug 932: changed encoding function for subject
authorINOPIAE <inopiae@cacert.org>
Thu, 20 Aug 2015 18:56:49 +0000 (20:56 +0200)
committerINOPIAE <inopiae@cacert.org>
Thu, 20 Aug 2015 18:56:49 +0000 (20:56 +0200)
manager/application/views/scripts/mail/index.phtml

index 3eecfdc..9e625e7 100644 (file)
@@ -26,7 +26,7 @@ else {
         print "    <tr>\n";
         print "        <td><a href=\"" . $header->detailslink . "\">" . $header->fromaddress . "</a></td>";
         print "        <td>" . $header->toaddress . "</td>";
-        print "        <td>" . htmlspecialchars(quoted_printable_decode($header->subject), ENT_QUOTES | ENT_SUBSTITUTE, 'UTF-8') . "</td>";
+        print "        <td>" . htmlspecialchars(iconv_mime_decode($header->subject, 'UTF-8'), ENT_QUOTES | ENT_SUBSTITUTE, 'UTF-8') . "</td>";
         print "        <td>" . $header->date . "</td>";
         print "        <td>" . $header->Size . "</td>";
         print "        <td><a class=\"delete\" href=\"" . $header->deletelink . "\"><img src=\"/img/delete_icon.jpg\"></a></td>";