Przeglądaj źródła

Merge branch 'trunk'

Andy 1 rok temu
rodzic
commit
bc9d14206d
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      functions/imap_messages.php

+ 2 - 0
functions/imap_messages.php

@@ -691,6 +691,8 @@ function parseFetch(&$aResponse,$aMessageList = array()) {
             $read = trim(substr($read,$i));
             $i_len = strlen($read);
             $i = strpos($read,' ');
+            if ($i === FALSE)
+                break;
             $arg = substr($read,0,$i);
             ++$i;
             /*