From ca788fbec7763e4d61e918b6c8a7bc03f2e043e9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 6 Oct 2009 20:15:07 +0000 Subject: [PATCH] Some double-quotes to single rewritten --- inc/filters.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/filters.php b/inc/filters.php index b282543425..db886a0d65 100644 --- a/inc/filters.php +++ b/inc/filters.php @@ -307,7 +307,7 @@ function FILTER_FLUSH_FILTERS () { // Add this filter (all filters are active by default) $insertSQL .= sprintf("('%s','%s','Y'),", $filterName, $filterFunction); $inserted++; - } elseif ($active == "R") { + } elseif ($active == 'R') { // Remove this filter $removeSQL .= sprintf(" (`filter_name`='%s' AND `filter_function`='%s') OR", $filterName, $filterFunction); $removed++; @@ -327,7 +327,7 @@ function FILTER_FLUSH_FILTERS () { // Something has been removed? if ($removed > 0) { // Finish SQL command - $removeSQL = substr($removeSQL, 0, -2) . "LIMIT ".$removed; + $removeSQL = substr($removeSQL, 0, -2) . 'LIMIT '.$removed; // And run it ADD_SQL($removeSQL); -- 2.39.5