From 27932b080001da67162a69deeea62b327af05eb0 Mon Sep 17 00:00:00 2001 From: stekkel Date: Sat, 17 May 2003 17:00:54 +0000 Subject: [PATCH] Missed a spot, now the date is also extracted from the header git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4873 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/imap_messages.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/functions/imap_messages.php b/functions/imap_messages.php index 227bd1ec..5df9ad31 100755 --- a/functions/imap_messages.php +++ b/functions/imap_messages.php @@ -587,12 +587,12 @@ function sqimap_get_small_header_list ($imap_stream, $msg_list, $show_num=false) break; case 'INTERNALDATE': - $tmpdate = parseString($read,$i); - if ($tmpdate === false) break 3; - $tmpdate = str_replace(' ',' ',$tmpdate); - $tmpdate = explode(' ',$tmpdate); - $date = str_replace('-',' ',$tmpdate[0]) . " " . - $tmpdate[1] . ' ' . $tmpdate[2]; + $date = parseString($read,$i); + //if ($tmpdate === false) break 3; + //$tmpdate = str_replace(' ',' ',$tmpdate); + //$tmpdate = explode(' ',$tmpdate); + //$date = str_replace('-',' ',$tmpdate[0]) . " " . + // $tmpdate[1] . ' ' . $tmpdate[2]; break; case 'BODY.PEEK[HEADER.FIELDS': case 'BODY[HEADER.FIELDS': @@ -615,7 +615,7 @@ function sqimap_get_small_header_list ($imap_stream, $msg_list, $show_num=false) case 'to': $to = $value; break; case 'cc': $cc = $value; break; case 'from': $from = $value; break; - case 'date': + case 'date': $date = $value; break; case 'x-priority': $priority = $value; break; case 'subject': $subject = $value; -- 2.25.1