When javascript was turned off the group menu did not work because the Go button linked to course/view.php rather than mod/forum/view.php
This commit is contained in:
+1
-1
@@ -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>';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user