mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
Merge branch 'MDL-45873' of https://github.com/bostelm/moodle
This commit is contained in:
commit
be1b12490e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue