Skip to content
Browse files

When javascript was turned off the group menu did not work because th…

…e Go button linked to course/view.php rather than mod/forum/view.php
  • Loading branch information...
1 parent d75825e commit c848b76045fdf8adf6cafb458802d0183ecc1473 gustav_delius committed Oct 13, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/forum/view.php
2 mod/forum/view.php
@@ -112,7 +112,7 @@
//the following query really needs to change
if ($groups = get_records_menu("groups", "courseid", $course->id, "name ASC", "id,name")) {
echo '<td>';
- print_group_menu($groups, $groupmode, $currentgroup, "view.php?id=$cm->id");
+ print_group_menu($groups, $groupmode, $currentgroup, "$CFG->wwwroot/mod/forum/view.php?id=$cm->id");
echo '</td>';

0 comments on commit c848b76

Please sign in to comment.
Something went wrong with that request. Please try again.