Merge branch 'MDL-45873_32' of https://github.com/bostelm/moodle into MOODLE_32_STABLE
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user