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 9aca1be2c71803fa903a3d741699e776be4fa72b..a414573dd33f8da667ea0e1e1a40e9c7680e91f2 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']) &&