diff options
author | Derek Jones <derek.jones@ellislab.com> | 2010-01-06 23:21:41 +0100 |
---|---|---|
committer | Derek Jones <derek.jones@ellislab.com> | 2010-01-06 23:21:41 +0100 |
commit | 8c4b5e78a8f3a87e30ffc3b09b897153ffe86193 (patch) | |
tree | 2e0c68c400c357184e9e8a8b1a55722ce84d622d /system | |
parent | 7f3719faf120dc15f3d7b45e132ab3192f60ad62 (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.php | 2 |
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']]))) { |