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
1 changed files with 2 additions and 0 deletions

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 {