Skip to content
Snippets Groups Projects
Commit e25c992b authored by jaapjansma's avatar jaapjansma
Browse files

Fixed notice

parent 9293c52a
No related branches found
No related tags found
No related merge requests found
......@@ -162,7 +162,7 @@ class OptionGroupType extends AbstractType implements OptionListInterface {
}
return $return;
}
elseif (!is_array($value)) {
elseif (!is_array($value) && strlen($value)) {
return $this->denormalizedOptions[$value];
}
else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment