Skip to content

Commit

Permalink
getFilterName: only show inverse rules as actually inverse
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Dolgov committed Mar 25, 2013
1 parent a3a896a commit bcd4d24
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions classes/pref/filters.php
Original file line number Diff line number Diff line change
Expand Up @@ -911,6 +911,8 @@ private function getFilterName($id) {
unset($line["cat_id"]);
}

if (!sql_bool_to_bool($line["inverse"])) unset($line["inverse"]);

if ($count < 2) {
array_push($titles, $this->getRuleName($line));
} else {
Expand Down

0 comments on commit bcd4d24

Please sign in to comment.