From: cigamit Date: Mon, 21 Mar 2005 17:18:43 +0000 (+0000) Subject: Add fix for Filters Plugin dealing with duplicate rule processing and X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=06342d92973cfb5abda63be550c2454694a6321f;p=squirrelmail.git Add fix for Filters Plugin dealing with duplicate rule processing and 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 --- diff --git a/plugins/filters/filters.php b/plugins/filters/filters.php index 9aca1be2..a414573d 100644 --- a/plugins/filters/filters.php +++ b/plugins/filters/filters.php @@ -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']) &&