1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 23:05:56 +00:00

getFilterName: only show inverse rules as actually inverse

This commit is contained in:
Andrew Dolgov
2013-03-25 19:58:37 +04:00
parent a3a896a127
commit bcd4d24086

View File

@@ -911,6 +911,8 @@ class Pref_Filters extends Handler_Protected {
unset($line["cat_id"]); unset($line["cat_id"]);
} }
if (!sql_bool_to_bool($line["inverse"])) unset($line["inverse"]);
if ($count < 2) { if ($count < 2) {
array_push($titles, $this->getRuleName($line)); array_push($titles, $this->getRuleName($line));
} else { } else {