From: Andrew Dolgov Date: Mon, 25 Mar 2013 15:58:37 +0000 (+0400) Subject: getFilterName: only show inverse rules as actually inverse X-Git-Tag: 1.7.6~293 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=bcd4d2408630c2270510f318075ec7ab52f1de75;p=tt-rss.git getFilterName: only show inverse rules as actually inverse --- diff --git a/classes/pref/filters.php b/classes/pref/filters.php index f9828705..5ea4fe59 100644 --- a/classes/pref/filters.php +++ b/classes/pref/filters.php @@ -911,6 +911,8 @@ class Pref_Filters extends Handler_Protected { unset($line["cat_id"]); } + if (!sql_bool_to_bool($line["inverse"])) unset($line["inverse"]); + if ($count < 2) { array_push($titles, $this->getRuleName($line)); } else {