From a5227f0e0e694520ffd17ceea1b8c270064caa88 Mon Sep 17 00:00:00 2001 From: fidian Date: Fri, 2 Feb 2001 21:38:11 +0000 Subject: [PATCH] Fixed the weird date thing. Forgot it had to be an associative array. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1048 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 88729f0d..4b23cf33 100755 --- a/functions/imap_messages.php +++ b/functions/imap_messages.php @@ -303,7 +303,7 @@ else if (strtolower(substr($read[$i], 0, 5)) == "date:") { $d = substr($read[$i], 5); $d = trim($d); - $d = strtr($d, array(' ', ' ')); + $d = strtr($d, array(' ' => ' ')); $d = explode(' ', $d); $hdr->date = getTimeStamp($d); $i++; -- 2.25.1