Przeglądaj źródła

* $data didn't have the $

Tyler Akins 24 lat temu
rodzic
commit
525733e1f1
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      functions/mime.php

+ 1 - 1
functions/mime.php

@@ -382,7 +382,7 @@
       fputs ($imap_stream, "a010 FETCH $id BODY[$ent_id]\r\n");
       $data = sqimap_read_data ($imap_stream, 'a010', true, $response, $message);
       $topline = array_shift($data);
-      while (! ereg('\\* [0-9]+ FETCH ', $topline) && data)
+      while (! ereg('\\* [0-9]+ FETCH ', $topline) && $data)
           $topline = array_shift($data);
       $wholemessage = implode('', $data);