Andy 1 год назад
Родитель
Сommit
bc9d14206d
1 измененных файлов с 2 добавлено и 0 удалено
  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;
             /*