getFilterName: only show inverse rules as actually inverse

master
Andrew Dolgov 12 years ago
parent a3a896a127
commit bcd4d24086

@ -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 {

Loading…
Cancel
Save