Fix textarea name setting. Closes #1161.

This commit is contained in:
Taylor Otwell committed 2013-05-09 23:08:14 -05:00
1 parent f827467fe9
commit 43a9724d02
1 file changed
+1 -1
+1 -1
View File
@@ -305,7 +305,7 @@ class FormBuilder {
*/ */
public function textarea($name, $value = null, $options = array()) public function textarea($name, $value = null, $options = array())
{ {
$options['name'] = $name; if ( ! isset($options['name'])) $options['name'] = $name;
// Next we will look for the rows and cols attributes, as each of these are put // Next we will look for the rows and cols attributes, as each of these are put
// on the textarea element definition. If they are not present, we will just // on the textarea element definition. If they are not present, we will just