]> git.mjollnir.org Git - moodle.git/commitdiff
When javascript was turned off the group menu did not work because the Go button...
authorgustav_delius <gustav_delius>
Fri, 13 Oct 2006 23:27:37 +0000 (23:27 +0000)
committergustav_delius <gustav_delius>
Fri, 13 Oct 2006 23:27:37 +0000 (23:27 +0000)
mod/forum/view.php

index 509023ecf08efe14977f3a4cb3f706e8c44dc5dc..efa184ab64a5bb594067d13c96231aaa3aa31abf 100644 (file)
         //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>';
         }
     }