Browse Source

Merge branch 'trunk'

Andy 1 year ago
parent
commit
bc9d14206d
1 changed files with 2 additions and 0 deletions
  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));
             $read = trim(substr($read,$i));
             $i_len = strlen($read);
             $i_len = strlen($read);
             $i = strpos($read,' ');
             $i = strpos($read,' ');
+            if ($i === FALSE)
+                break;
             $arg = substr($read,0,$i);
             $arg = substr($read,0,$i);
             ++$i;
             ++$i;
             /*
             /*