summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2010-01-06 23:21:41 +0100
committerDerek Jones <derek.jones@ellislab.com>2010-01-06 23:21:41 +0100
commit8c4b5e78a8f3a87e30ffc3b09b897153ffe86193 (patch)
tree2e0c68c400c357184e9e8a8b1a55722ce84d622d /system
parent7f3719faf120dc15f3d7b45e132ab3192f60ad62 (diff)
changed isset() to array_key_exists() in values_parsing() conditional of XML-RPC class to allow for array keys set with NULL values
Diffstat (limited to 'system')
-rw-r--r--system/libraries/Xmlrpc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Xmlrpc.php b/system/libraries/Xmlrpc.php
index fe5562fef..5a82391dd 100644
--- a/system/libraries/Xmlrpc.php
+++ b/system/libraries/Xmlrpc.php
@@ -229,7 +229,7 @@ class CI_Xmlrpc {
function values_parsing($value, $return = FALSE)
{
- if (is_array($value) && isset($value['0']))
+ if (is_array($value) && array_key_exists(0, $value))
{
if ( ! isset($value['1']) OR (! isset($this->xmlrpcTypes[$value['1']])))
{