From 34688939191439fec5391920f38836edce00b737 Mon Sep 17 00:00:00 2001 From: lkehresman Date: Fri, 23 Jun 2000 02:02:37 +0000 Subject: [PATCH] may have fixed the blank subject problem git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@555 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/imap_messages.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/imap_messages.php b/functions/imap_messages.php index 9e428d66..a2fce07c 100755 --- a/functions/imap_messages.php +++ b/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)"); } } -- 2.25.1