1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-30 11:37:10 +00:00

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