mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
MDL-21704 fixed recent regression
This commit is contained in:
parent
e65701ee2d
commit
c564ee2ac8
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user