Commit e25c992b authored by jaapjansma's avatar jaapjansma

Fixed notice

parent 9293c52a
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment