From bfccff11c46356d7b3c26f68ef8c1f5187c12536 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 2 Dec 2017 22:47:47 +0300 Subject: [PATCH] filter rule saving fix --- classes/pref/filters.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/pref/filters.php b/classes/pref/filters.php index a9d1557b..f24d0a01 100755 --- a/classes/pref/filters.php +++ b/classes/pref/filters.php @@ -696,7 +696,7 @@ class Pref_Filters extends Handler_Protected { if ($rule) { $reg_exp = trim($rule["reg_exp"]); - $inverse = isset($rule["inverse"]) ? true : false; + $inverse = isset($rule["inverse"]) ? 1 : 0; $filter_type = (int)trim($rule["filter_type"]); $match_on = json_encode($rule["feed_id"]); -- 2.39.5