Merge branch 'MDL-45873_32' of https://github.com/bostelm/moodle into MOODLE_32_STABLE

This commit is contained in:
Dan Poltawski
2016-12-06 15:56:28 +00:00
+1 -1
View File
@@ -50,7 +50,7 @@ class data_field_menu extends data_field_base {
$rawoptions = explode("\n",$this->field->param1);
foreach ($rawoptions as $option) {
$option = trim($option);
if ($option) {
if (strlen($option) > 0) {
$options[$option] = $option;
}
}