From e7002fc3fa723ac757d14371a6df2dac024e6bfb Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 5 May 2008 07:28:00 +0100 Subject: [PATCH] tweak score display (2) --- modules/pref-filters.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/modules/pref-filters.php b/modules/pref-filters.php index 031e2a24b..18c78da6c 100644 --- a/modules/pref-filters.php +++ b/modules/pref-filters.php @@ -315,13 +315,7 @@ $line["action_param"] = "—"; } else if ($line["action_name"] == "score") { - if ($line["action_param"] > 100) { - $score_pic = "score_high.png"; - } else if ($line["action_param"] < -100) { - $score_pic = "score_low.png"; - } else { - $score_pic = "score_neutral.png"; - } + $score_pic = get_score_pic($line["action_param"]); $score_pic = "";