summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorINOPIAE <inopiae@cacert.org>2015-08-20 20:56:49 +0200
committerINOPIAE <inopiae@cacert.org>2015-08-20 20:56:49 +0200
commit9987c02e3e9e8f1d9b6219c1384297036c583da7 (patch)
treec40de78eb1558cf542fe6c73adc6c575cf2c773e
parent269829b175dac7bf3f2128fbd5c55ba08f48d2d0 (diff)
downloadcacert-mgr-9987c02e3e9e8f1d9b6219c1384297036c583da7.tar.gz
cacert-mgr-9987c02e3e9e8f1d9b6219c1384297036c583da7.tar.xz
cacert-mgr-9987c02e3e9e8f1d9b6219c1384297036c583da7.zip
bug 932: changed encoding function for subject
-rw-r--r--manager/application/views/scripts/mail/index.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/manager/application/views/scripts/mail/index.phtml b/manager/application/views/scripts/mail/index.phtml
index 3eecfdc..9e625e7 100644
--- a/manager/application/views/scripts/mail/index.phtml
+++ b/manager/application/views/scripts/mail/index.phtml
@@ -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>";