diff options
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 0095a816e..bdc87b86f 100644 --- a/system/helpers/form_helper.php +++ b/system/helpers/form_helper.php @@ -240,7 +240,7 @@ if ( ! function_exists('form_textarea')) unset($data['value']); // textareas don't use the value attribute } - return "<textarea "._parse_form_attributes($data, $defaults).$extra.">".$val."</textarea>"; + return "<textarea "._parse_form_attributes($data, $defaults).$extra.">".form_prep($val)."</textarea>"; } } |