mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 17:02:03 +02:00
MDL-43398 wiki: remove extra Choose... option from select
This commit is contained in:
parent
3ef5218b30
commit
5ffb5fd4b3
@ -482,7 +482,7 @@ class mod_wiki_renderer extends plugin_renderer_base {
|
||||
foreach ($items as $key => $item) {
|
||||
$selectoptions[$key + 1] = $item;
|
||||
}
|
||||
$select = new single_select(new moodle_url('/mod/wiki/map.php', array('pageid' => $pageid)), 'option', $selectoptions, $currentselect);
|
||||
$select = new single_select(new moodle_url('/mod/wiki/map.php', array('pageid' => $pageid)), 'option', $selectoptions, $currentselect, null);
|
||||
$select->label = get_string('mapmenu', 'wiki') . ': ';
|
||||
return $this->output->container($this->output->render($select), 'midpad');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user