Add fix for Filters Plugin dealing with duplicate rule processing and
authorcigamit <cigamit@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 21 Mar 2005 17:18:43 +0000 (17:18 +0000)
committercigamit <cigamit@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 21 Mar 2005 17:18:43 +0000 (17:18 +0000)
false unread message counts.  This should close both bug # 676073
and patch # 919045 (the patch is not needed after this fix)
I do not have access to close these bugs, so if someone else will do the honor :)

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9120 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/filters/filters.php

index 9aca1be..a414573 100644 (file)
@@ -279,6 +279,7 @@ function filter_search_and_delete($imap_stream, $where, $what, $where_to, $user_
     } else {
         $category = 'ALL';
     }
+    $category .= ' NOT DELETED';
 
     if ($allow_charset_search &&
         isset($languages[$squirrelmail_language]['CHARSET']) &&