]> git.wh0rd.org Git - tt-rss.git/commitdiff
getFilterName: only show inverse rules as actually inverse
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 25 Mar 2013 15:58:37 +0000 (19:58 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 25 Mar 2013 15:58:37 +0000 (19:58 +0400)
classes/pref/filters.php

index f9828705e6c2465d77c6570ce1e487336998e662..5ea4fe59d04e91e48eb9cb35a3431854781e2861 100644 (file)
@@ -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 {