Browse Source

may have fixed the blank subject problem

Luke Ehresman 25 năm trước cách đây
mục cha
commit
3151a897b6
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      functions/imap_messages.php

+ 1 - 1
functions/imap_messages.php

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