Merge branch 'wip-MDL-57807-32' of git://github.com/abgreeve/moodle into MOODLE_32_STABLE

This commit is contained in:
David Monllao
2017-04-27 11:33:43 +08:00
+2 -1
View File
@@ -105,7 +105,8 @@ class data_field_menu extends data_field_base {
$return = html_writer::label(get_string('fieldtypelabel', "datafield_" . $this->type),
'menuf_' . $this->field->id, false, array('class' => 'accesshide'));
$return .= html_writer::select($options, 'f_'.$this->field->id, $content, array('class' => 'custom-select'));
$return .= html_writer::select($options, 'f_'.$this->field->id, $content, array('' => get_string('menuchoose', 'data')),
array('class' => 'custom-select'));
return $return;
}