pref-filters: do not show action_param for filter types which take no params

This commit is contained in:
Andrew Dolgov 2010-11-11 23:23:29 +03:00
parent a627ae354b
commit 799e1b390e

View file

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