diff options
author | Zach Cardoza <bayssmekanique@live.com> | 2013-03-22 22:50:39 +0100 |
---|---|---|
committer | Zach Cardoza <bayssmekanique@live.com> | 2013-03-22 22:50:39 +0100 |
commit | e15d1be514dad1df7a3c38d6265566692ecf1260 (patch) | |
tree | f63e1fb5f5dafc1637fed082f632cd5a9ca11ab7 /system/helpers/form_helper.php | |
parent | 13f6eabafa655828a8c09b4ae0a58a2e3776c269 (diff) |
Fixed error in Form Helper textarea function
Function had declaration of unused $name variable which caused errors.
Diffstat (limited to 'system/helpers/form_helper.php')
-rw-r--r-- | system/helpers/form_helper.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/system/helpers/form_helper.php b/system/helpers/form_helper.php index 692909c79..84a3e80cf 100644 --- a/system/helpers/form_helper.php +++ b/system/helpers/form_helper.php @@ -261,7 +261,6 @@ if ( ! function_exists('form_textarea')) unset($data['value']); // textareas don't use the value attribute } - $name = is_array($data) ? $data['name'] : $data; return '<textarea '._parse_form_attributes($data, $defaults).$extra.'>'.form_prep($val, TRUE)."</textarea>\n"; } } @@ -1005,4 +1004,4 @@ if ( ! function_exists('_get_validation_object')) } /* End of file form_helper.php */ -/* Location: ./system/helpers/form_helper.php */
\ No newline at end of file +/* Location: ./system/helpers/form_helper.php */ |