Fix for updating the mailbox cache concernig flags
authorstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 17 Mar 2006 17:48:31 +0000 (17:48 +0000)
committerstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 17 Mar 2006 17:48:31 +0000 (17:48 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10993 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/imap_general.php

index 908598a97405da2510363f24c0699baf7ad1ecc6..1373a20e3d7cd2756bee325e89425d833f748ce2 100755 (executable)
@@ -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();