Browse Source

Merge pull request #840 from noor/develop

Fixed optgroup closing tag
Taylor Otwell 12 years ago
parent
commit
749a91f948
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>';
 	}
 
 	/**