diff options
author | Derek Allard <derek.allard@ellislab.com> | 2008-06-19 09:46:22 +0200 |
---|---|---|
committer | Derek Allard <derek.allard@ellislab.com> | 2008-06-19 09:46:22 +0200 |
commit | 3640a0b83b610c3e497efa5f739787e225e9b2ad (patch) | |
tree | 26cd50a31f64128ec7ddaf3029ef5bacc6ee32b5 /system/helpers | |
parent | 9736d3fb84260c24faa6c1538c99859441c0e2f8 (diff) |
removed maxlength and size as automatically added attributes in form helper
Diffstat (limited to 'system/helpers')
-rw-r--r-- | system/helpers/form_helper.php | 2 |
1 files changed, 1 insertions, 1 deletions
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 "<input ".parse_form_attributes($data, $defaults).$extra." />\n";
}
|