fix creating category filters on mysql
This commit is contained in:
parent
bf0bedcbe5
commit
a5e0ffb0ce
|
@ -527,7 +527,7 @@ class Pref_Filters extends Protected_Handler {
|
||||||
VALUES
|
VALUES
|
||||||
('$regexp', '$filter_type','".$_SESSION["uid"]."',
|
('$regexp', '$filter_type','".$_SESSION["uid"]."',
|
||||||
$feed_id, '$action_id', '$action_param', $inverse,
|
$feed_id, '$action_id', '$action_param', $inverse,
|
||||||
'$filter_param', $cat_id, '$cat_filter')");
|
'$filter_param', $cat_id, $cat_filter)");
|
||||||
|
|
||||||
if (db_affected_rows($this->link, $result) != 0) {
|
if (db_affected_rows($this->link, $result) != 0) {
|
||||||
print T_sprintf("Created filter <b>%s</b>", htmlspecialchars($regexp));
|
print T_sprintf("Created filter <b>%s</b>", htmlspecialchars($regexp));
|
||||||
|
|
Loading…
Reference in New Issue