Browse Source

fixed optgroup closing tag

Noor Alhiraki 12 years ago
parent
commit
ec0128be8f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      laravel/form.php

+ 1 - 1
laravel/form.php

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