summaryrefslogtreecommitdiffstats
path: root/system/libraries/Xmlrpc.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/libraries/Xmlrpc.php')
-rw-r--r--system/libraries/Xmlrpc.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/system/libraries/Xmlrpc.php b/system/libraries/Xmlrpc.php
index ee65398ec..ff03a503a 100644
--- a/system/libraries/Xmlrpc.php
+++ b/system/libraries/Xmlrpc.php
@@ -505,9 +505,9 @@ class XML_RPC_Response
{
$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 @@ class XML_RPC_Message extends CI_Xmlrpc
{
$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))