Don't override names if they have been explicitly set.
This commit is contained in:
1 parent
8104c77512
commit
00f8efb32b
1 file changed
+1
-1
+1
-1
@@ -189,7 +189,7 @@ class FormBuilder {
|
|||||||
*/
|
*/
|
||||||
public function input($type, $name, $value = null, $options = array())
|
public function input($type, $name, $value = null, $options = array())
|
||||||
{
|
{
|
||||||
$options['name'] = $name;
|
if ( ! isset($options['name'])) $options['name'] = $name;
|
||||||
|
|
||||||
// We will get the appropriate value for the given field. We will look for the
|
// We will get the appropriate value for the given field. We will look for the
|
||||||
// value in the session for the value in the old input data then we'll look
|
// value in the session for the value in the old input data then we'll look
|
||||||
|
|||||||
Reference in new issue
Block a user