diff --git a/html/inc/forum.inc b/html/inc/forum.inc index baaa05c35b..8f48342d27 100644 --- a/html/inc/forum.inc +++ b/html/inc/forum.inc @@ -426,7 +426,7 @@ function show_posts($thread, $sort_style, $filter, $show_controls=true, $do_colo if ($is_helpdesk) { if ($firstPost) { - show_post($firstPost, $thread, $logged_in_user, $n, $controls, true); + show_post($firstPost, $thread, $logged_in_user, $n, $controls, true,$filter); if ($firstPost->timestamp>$logged_in_user->thread_last_visited){ $first_unread_post=$firstPost; } @@ -586,7 +586,7 @@ function show_post($post, $thread, $logged_in_user, $n, $controls=FORUM_CONTROLS if ($controls == HELPDESK_CONTROLS && $separate) { echo ""; } else if ($controls == HELPDESK_CONTROLS && !$separate) { - echo " / Score: ", ($post->score * $post->votes), ""; + echo " / Score: ", round(($post->score * $post->votes),0), ""; } else { echo " / Rating: ", round(intval(($post->score * $post->votes)+0.01),0), " - rate: id."&choice=p\">+ / id."&choice=n\">-"; }