From: Andrew Dolgov Date: Sat, 2 Dec 2017 19:47:47 +0000 (+0300) Subject: filter rule saving fix X-Git-Tag: 17.12~39 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=bfccff11c46356d7b3c26f68ef8c1f5187c12536;p=tt-rss.git filter rule saving fix --- 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"]);