fixed errant syntax in changeset 53ace78c4b45, fixes #37
diff --git a/system/libraries/Xmlrpc.php b/system/libraries/Xmlrpc.php
index ee65398..ff03a50 100644
--- a/system/libraries/Xmlrpc.php
+++ b/system/libraries/Xmlrpc.php
@@ -505,9 +505,9 @@
 	{
 		$CI =& get_instance();
 
-		if ($this->xss_clean && ! is_object($CI->security))
+		if ($this->xss_clean && ! isset($CI->security))
 		{
-			$CI->load('security');
+			$CI->load->library('security');
 		}
 
 		if ($array !== FALSE && is_array($array))
@@ -1124,9 +1124,9 @@
 	{
 		$CI =& get_instance();	
 
-		if ($this->xss_clean && ! is_object($CI->security))
+		if ($this->xss_clean && ! isset($CI->security))
 		{
-			$CI->load('security');
+			$CI->load->library('security');
 		}
 		
 		if ($array !== FALSE && is_array($array))