Fixed the weird date thing. Forgot it had to be an associative array.
[squirrelmail.git] / 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++;