From 3640a0b83b610c3e497efa5f739787e225e9b2ad Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Thu, 19 Jun 2008 07:46:22 +0000 Subject: removed maxlength and size as automatically added attributes in form helper --- system/helpers/form_helper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system/helpers/form_helper.php') diff --git a/system/helpers/form_helper.php b/system/helpers/form_helper.php index d250d76e8..5b28d3de8 100644 --- a/system/helpers/form_helper.php +++ b/system/helpers/form_helper.php @@ -135,7 +135,7 @@ if ( ! function_exists('form_input')) { function form_input($data = '', $value = '', $extra = '') { - $defaults = array('type' => 'text', 'name' => (( ! is_array($data)) ? $data : ''), 'value' => $value, 'maxlength' => '500', 'size' => '50'); + $defaults = array('type' => 'text', 'name' => (( ! is_array($data)) ? $data : ''), 'value' => $value); return "\n"; } -- cgit v1.2.3-24-g4f1b