mirror of
https://github.com/moodle/moodle.git
synced 2025-01-21 23:48:45 +01:00
FIx for the display of the help window for the current scale
This commit is contained in:
parent
d0117715f3
commit
fa01ae8be0
@ -2010,7 +2010,11 @@ function forum_print_discussion($course, $forum, $discussion, $post, $mode) {
|
||||
|
||||
if ($ratings) {
|
||||
echo "<center><input type=\"submit\" value=\"".get_string("sendinratings", "forum")."\">";
|
||||
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 "</center>";
|
||||
echo "</form>";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user