From 8c4b5e78a8f3a87e30ffc3b09b897153ffe86193 Mon Sep 17 00:00:00 2001 From: Derek Jones Date: Wed, 6 Jan 2010 22:21:41 +0000 Subject: changed isset() to array_key_exists() in values_parsing() conditional of XML-RPC class to allow for array keys set with NULL values --- system/libraries/Xmlrpc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system/libraries/Xmlrpc.php') 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']]))) { -- cgit v1.2.3-24-g4f1b