From c564ee2ac840937c113c646848508461191900dc Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Tue, 23 Feb 2010 16:39:56 +0000 Subject: [PATCH] MDL-21704 fixed recent regression --- lib/grouplib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/grouplib.php b/lib/grouplib.php index fdfa934e01e..3b3629c5377 100644 --- a/lib/grouplib.php +++ b/lib/grouplib.php @@ -593,7 +593,7 @@ function groups_print_activity_menu($cm, $urlroot, $return=false, $hideallpartic $groupname = reset($groupsmenu); $output = $grouplabel.': '.$groupname; } else { - $select = new single_select($urlroot, 'group', $groupsmenu, $activegroup, null, 'selectgroup'); + $select = new single_select(new moodle_url($urlroot), 'group', $groupsmenu, $activegroup, null, 'selectgroup'); $select->label = $grouplabel; $output = $OUTPUT->render($select); }