浏览代码

Fix for updating the mailbox cache concernig flags

stekkel 19 年之前
父节点
当前提交
1ca59fc121
共有 1 个文件被更改,包括 1 次插入1 次删除
  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();