Commit ec0128be authored by Noor Alhiraki's avatar Noor Alhiraki

fixed optgroup closing tag

parent 681f80ea
......@@ -427,7 +427,7 @@ class Form {
$html[] = static::option($value, $display, $selected);
}
return '<optgroup label="'.HTML::entities($label).'">'.implode('', $html).'</option>';
return '<optgroup label="'.HTML::entities($label).'">'.implode('', $html).'</optgroup>';
}
/**
......
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