浏览代码

Fixed the No Subect Bug

oricn 25 年之前
父节点
当前提交
2f055900af
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      functions/imap_messages.php

+ 1 - 1
functions/imap_messages.php

@@ -64,7 +64,7 @@
             $date = substr($read[$i], 5);
          } else if (eregi ("^subject:", $read[$i])) {
             $subject = htmlspecialchars(eregi_replace ("^subject: ", "", $read[$i]));
-            if (strlen($subject) == 0)
+            if (strlen(Chop($subject)) == 0)
                $subject = _("(no subject)");
          }
 		}