summaryrefslogtreecommitdiffstats
path: root/system/libraries/Form_validation.php
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2010-04-26 16:09:21 +0200
committerDerek Jones <derek.jones@ellislab.com>2010-04-26 16:09:21 +0200
commit30841679f57da9de8053c8291a665043f8f92c03 (patch)
treec3bbd7b9a08a43eca1d3c715f5714b33ab7c6e61 /system/libraries/Form_validation.php
parent78a1cf24831e067aae04531718a167e8ec144fda (diff)
fixed errant syntax in changeset 53ace78c4b45, fixes #37
Diffstat (limited to 'system/libraries/Form_validation.php')
-rw-r--r--system/libraries/Form_validation.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/libraries/Form_validation.php b/system/libraries/Form_validation.php
index 73cb6b853..64baaef25 100644
--- a/system/libraries/Form_validation.php
+++ b/system/libraries/Form_validation.php
@@ -1254,11 +1254,11 @@ class CI_Form_validation {
*/
function xss_clean($str)
{
- if ( ! is_object($this->CI->security))
+ if ( ! isset($this->CI->security))
{
- $this->CI->load('security');
+ $this->CI->load->library('security');
}
-
+
return $this->CI->security->xss_clean($str);
}