浏览代码

no comments :-(

stekkel 23 年之前
父节点
当前提交
fc5c142d50
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/search.php

+ 2 - 1
src/search.php

@@ -12,6 +12,7 @@
 require_once('../src/validate.php');
 require_once('../functions/imap.php');
 require_once('../functions/imap_search.php');
+require_once('../functions/imap_utf7_decode_local');
 require_once('../functions/array.php');
 require_once('../functions/strings.php');
 
@@ -310,7 +311,7 @@ echo '<B>' . _("Current Search") . '</B>'
 for ($i = 0; $i < count($boxes); $i++) {
     if (!in_array('noselect', $boxes[$i]['flags'])) {
         $box = $boxes[$i]['unformatted'];
-        $box2 = str_replace(' ', '&nbsp;', $boxes[$i]['unformatted-disp']);
+        $box2 = imap_utf7_decode_local(str_replace(' ', '&nbsp;', $boxes[$i]['unformatted-disp']));
         if( $box2 == 'INBOX' ) {
             $box2 = _("INBOX");
         }