From: gustav_delius Date: Fri, 13 Oct 2006 23:27:37 +0000 (+0000) Subject: When javascript was turned off the group menu did not work because the Go button... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=549a78703bf4add22951d01ec68f34da2047243e;p=moodle.git 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 --- diff --git a/mod/forum/view.php b/mod/forum/view.php index 509023ecf0..efa184ab64 100644 --- a/mod/forum/view.php +++ b/mod/forum/view.php @@ -131,7 +131,7 @@ //the following query really needs to change if ($groups = get_records_menu("groups", "courseid", $course->id, "name ASC", "id,name")) { echo ''; - 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 ''; } }