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.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/system/libraries/Xmlrpc.php b/system/libraries/Xmlrpc.php
index e2b149b73..ee65398ec 100644
--- a/system/libraries/Xmlrpc.php
+++ b/system/libraries/Xmlrpc.php
@@ -505,6 +505,11 @@ class XML_RPC_Response
{
$CI =& get_instance();
+ if ($this->xss_clean && ! is_object($CI->security))
+ {
+ $CI->load('security');
+ }
+
if ($array !== FALSE && is_array($array))
{
while (list($key) = each($array))
@@ -1119,6 +1124,11 @@ class XML_RPC_Message extends CI_Xmlrpc
{
$CI =& get_instance();
+ if ($this->xss_clean && ! is_object($CI->security))
+ {
+ $CI->load('security');
+ }
+
if ($array !== FALSE && is_array($array))
{
while (list($key) = each($array))