Added basic CSS support.
[squirrelmail.git] / functions / imap_messages.php
index a48d4ea5194204693818634fa6b4e809e5a5ec06..d7f01665e22754b58daf34b04311e1b00c16589b 100755 (executable)
@@ -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)");
          }
                }