summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Kriete <pascal.kriete@ellislab.com>2009-06-09 16:03:19 +0200
committerPascal Kriete <pascal.kriete@ellislab.com>2009-06-09 16:03:19 +0200
commit6d1998cc153243f148b666b28a909675fc2725e5 (patch)
tree434b20d42db2f53780afe6609e80c3b9a6bacdd0
parent96dafa84d2c6e1f7792e67d0ea0bc81c69543894 (diff)
Changing form_textarea to correctly prep all data.
-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>";
}
}