projects
/
mailer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
36c3c8b
)
Some double-quotes to single rewritten
author
Roland Häder
<roland@mxchange.org>
Tue, 6 Oct 2009 20:15:07 +0000
(20:15 +0000)
committer
Roland Häder
<roland@mxchange.org>
Tue, 6 Oct 2009 20:15:07 +0000
(20:15 +0000)
inc/filters.php
patch
|
blob
|
history
diff --git
a/inc/filters.php
b/inc/filters.php
index
b282543
..
db886a0
100644
(file)
--- 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++;
// 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++;
// 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
// 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);
// And run it
ADD_SQL($removeSQL);