Key being overwritten by reuse of var in filters plugin.
authorjangliss <jangliss@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 29 Nov 2005 06:20:49 +0000 (06:20 +0000)
committerjangliss <jangliss@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 29 Nov 2005 06:20:49 +0000 (06:20 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10420 7612ce4b-ef26-0410-bec9-ea0150e637f0

ChangeLog
plugins/filters/filters.php

index 41f8ecf..a21a6ff 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -493,6 +493,7 @@ Version 1.5.1 -- CVS
     bugfix (#1366982).
   - Fixed ContentType object check in Rfc822Header class. E_NOTICE error
     in PHP 5.1.
+  - Key value being overwritten by reuse of var in filters plugin.
 
 Version 1.5.0 - 2 February 2004
 -------------------------------
index 0882e4f..638d3cc 100644 (file)
@@ -199,7 +199,7 @@ function start_filters() {
         $spamfilters = load_spam_filters();
 
         $AllowSpamFilters = false;
-        foreach($spamfilters as $key=>$value) {
+        foreach($spamfilters as $filterskey=>$value) {
             if ($value['enabled'] == 'yes') {
                 $AllowSpamFilters = true;
                 break;