Fixed the weird date thing. Forgot it had to be an associative array.
authorfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 2 Feb 2001 21:38:11 +0000 (21:38 +0000)
committerfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 2 Feb 2001 21:38:11 +0000 (21:38 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1048 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/imap_messages.php

index 88729f0da38ab51eb9c16238a5f67fa0b9dadead..4b23cf334fd8736e701d02585d6b29e277262489 100755 (executable)
          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++;