From fa01ae8be09b851b0792be7c7ce6cfa674159613 Mon Sep 17 00:00:00 2001 From: moodler Date: Wed, 27 Aug 2003 11:27:40 +0000 Subject: [PATCH] FIx for the display of the help window for the current scale --- mod/forum/lib.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mod/forum/lib.php b/mod/forum/lib.php index 1a1262b66f..51b8777c78 100644 --- a/mod/forum/lib.php +++ b/mod/forum/lib.php @@ -2010,7 +2010,11 @@ function forum_print_discussion($course, $forum, $discussion, $post, $mode) { if ($ratings) { echo "
"; - print_scale_menu_helpbutton($course->id, $scale); + if ($forum->scale < 0) { + if ($scale = get_record("scale", "id", abs($forum->scale))) { + print_scale_menu_helpbutton($course->id, $scale ); + } + } echo "
"; echo ""; } -- 2.39.5