ensured the security lib was loaded in a few calls to xss_clean() in other libraries. Fixes #35
diff --git a/system/libraries/Xmlrpc.php b/system/libraries/Xmlrpc.php
index e2b149b..ee65398 100644
--- a/system/libraries/Xmlrpc.php
+++ b/system/libraries/Xmlrpc.php
@@ -505,6 +505,11 @@
{
$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 @@
{
$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))