diff --git a/html/inc/forum.inc b/html/inc/forum.inc index 908bac8465..3eb6d6601b 100644 --- a/html/inc/forum.inc +++ b/html/inc/forum.inc @@ -598,9 +598,10 @@ function show_post( echo "

", $posttext, "

"; echo "ID: ", $post->id; - if ($no_forum_rating != NULL) { + if ($no_forum_rating) { echo " | id."\">"; show_image(REPORT_POST_IMAGE, "Report this post as offensive", "Report as offensive", REPORT_POST_IMAGE_HEIGHT); + echo ""; } else { $rating = $post->rating(); echo " | Rating: ", $rating, " | rate: