This commit is contained in:
Dan Poltawski 2016-12-06 15:56:23 +00:00
commit be1b12490e

View file

@ -50,7 +50,7 @@ class data_field_menu extends data_field_base {
$rawoptions = explode("\n",$this->field->param1); $rawoptions = explode("\n",$this->field->param1);
foreach ($rawoptions as $option) { foreach ($rawoptions as $option) {
$option = trim($option); $option = trim($option);
if ($option) { if (strlen($option) > 0) {
$options[$option] = $option; $options[$option] = $option;
} }
} }