summaryrefslogtreecommitdiffstats
path: root/system/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'system/helpers')
-rw-r--r--system/helpers/security_helper.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/helpers/security_helper.php b/system/helpers/security_helper.php
index 1f0a62906..654cfd100 100644
--- a/system/helpers/security_helper.php
+++ b/system/helpers/security_helper.php
@@ -40,7 +40,7 @@ if ( ! function_exists('xss_clean'))
function xss_clean($str, $is_image = FALSE)
{
$CI =& get_instance();
- return $CI->input->xss_clean($str, $is_image);
+ return $CI->security->xss_clean($str, $is_image);
}
}
@@ -56,7 +56,7 @@ if ( ! function_exists('dohash'))
{
function dohash($str, $type = 'sha1')
{
- return $this->do_hash($str, $type);
+ return do_hash($str, $type);
}
}