From bcd4d2408630c2270510f318075ec7ab52f1de75 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 25 Mar 2013 19:58:37 +0400 Subject: [PATCH] getFilterName: only show inverse rules as actually inverse --- classes/pref/filters.php | 2 ++ 1 file changed, 2 insertions(+) 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 { -- 2.39.5