From c5816596accb833893ecdfce1cfcd2f01f8d1a94 Mon Sep 17 00:00:00 2001 From: lkehresman Date: Fri, 24 Mar 2000 23:31:00 +0000 Subject: [PATCH] fixed (no subject) in message list. it now shows git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@338 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/imap_messages.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/functions/imap_messages.php b/functions/imap_messages.php index 57bc8fe3..8604bb87 100755 --- a/functions/imap_messages.php +++ b/functions/imap_messages.php @@ -43,6 +43,8 @@ fputs ($imap_stream, "a001 FETCH $id:$id RFC822.HEADER.LINES (From Subject Date)\r\n"); $read = sqimap_read_data ($imap_stream, "a001", true, $response, $message); + $subject = _("(no subject)"); + $from = _("Unknown Sender"); for ($i = 0; $i < count($read); $i++) { if (strtolower(substr($read[$i], 0, 5)) == "from:") { $from = sqimap_find_displayable_name(substr($read[$i], 5)); -- 2.25.1