summaryrefslogtreecommitdiffstats
path: root/system/libraries/Xmlrpc.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/Xmlrpc.php
parent78a1cf24831e067aae04531718a167e8ec144fda (diff)
fixed errant syntax in changeset 53ace78c4b45, fixes #37
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))