]> git.mxchange.org Git - mailer.git/blobdiff - inc/filters.php
Naming convention applied: is outdated, use (not shortended word), fixed missing...
[mailer.git] / inc / filters.php
index 73828d019c7255457f87c06dd11da6b7e748f5f5..5c538afb2a18aec4d0c1fb4cd54c6fb1f29066d4 100644 (file)
@@ -109,10 +109,10 @@ function FILTER_FLUSH_FILTERS () {
                // Update all counters
                foreach ($GLOBALS['cache_array']['filter']['counter'] as $filterName => $filterArray) {
                        // Walk through all filters
-                       foreach ($filterArray as $filterFunction => $cnt) {
+                       foreach ($filterArray as $filterFunction => $count) {
                                // Construct and add the query
                                addSql(sprintf("UPDATE `{?_MYSQL_PREFIX?}_filters` SET `filter_counter`=%s WHERE `filter_name`='%s' AND `filter_function`='%s' LIMIT 1",
-                                       bigintval($cnt),
+                                       bigintval($count),
                                        $filterName,
                                        $filterFunction
                                ));