Merge pull request #840 from noor/develop

Fixed optgroup closing tag
This commit is contained in:
Taylor Otwell
2012-06-20 09:42:12 -07:00

View File

@@ -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>';
}
/**