summaryrefslogtreecommitdiffstats
path: root/system/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'system/helpers')
-rw-r--r--system/helpers/security_helper.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/helpers/security_helper.php b/system/helpers/security_helper.php
index 0e2ba788d..4dbbf728a 100644
--- a/system/helpers/security_helper.php
+++ b/system/helpers/security_helper.php
@@ -32,15 +32,15 @@
*
* @access public
* @param string
- * @param string the character set of your data
+ * @param bool whether or not the content is an image file
* @return string
*/
if ( ! function_exists('xss_clean'))
{
- function xss_clean($str, $charset = 'ISO-8859-1')
+ function xss_clean($str, $is_image = FALSE)
{
$CI =& get_instance();
- return $CI->input->xss_clean($str, $charset);
+ return $CI->input->xss_clean($str, $is_image);
}
}