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:
gustav_delius
2006-10-13 22:28:42 +00:00
parent d75825e75b
commit c848b76045
+1 -1
View File
@@ -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>';
}
}