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 88729f0..4b23cf3 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++;