pref-filters: do not show action_param for filter types which take no params
This commit is contained in:
parent
a627ae354b
commit
799e1b390e
1 changed files with 6 additions and 0 deletions
|
@ -421,6 +421,12 @@
|
|||
|
||||
if (!$line["feed_title"]) $line["feed_title"] = __("All feeds");
|
||||
|
||||
if (array_search($line["action_name"],
|
||||
array("score", "tag", "label")) === false) {
|
||||
|
||||
$line["action_param"] = false;
|
||||
}
|
||||
|
||||
if (!$line["action_param"]) {
|
||||
$line["action_param"] = "—";
|
||||
} else if ($line["action_name"] == "score") {
|
||||
|
|
Loading…
Reference in a new issue