summaryrefslogtreecommitdiffstats
path: root/system/helpers/form_helper.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/helpers/form_helper.php')
-rw-r--r--system/helpers/form_helper.php2
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>";
}
}