Explorar o código

Fix for updating the mailbox cache concernig flags

stekkel %!s(int64=19) %!d(string=hai) anos
pai
achega
1ca59fc121
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      functions/imap_general.php

+ 1 - 1
functions/imap_general.php

@@ -461,7 +461,7 @@ function sqimap_retrieve_imap_response($imap_stream, $tag, $handle_errors,
 
           case '*':
           {
-            if ($sCommand == "FETCH" && preg_match('/^\*\s\d+\sFETCH/',$read)) {
+            if (($sCommand == "FETCH" || $sCommand == "STORE") && preg_match('/^\*\s\d+\sFETCH/',$read)) {
                 /* check for literal */
                 $s = substr($read,-3);
                 $fetch_data = array();