Sfoglia il codice sorgente

Fixed the weird date thing. Forgot it had to be an associative array.

Tyler Akins 24 anni fa
parent
commit
fc353073cf
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      functions/imap_messages.php

+ 1 - 1
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++;