summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--system/libraries/Xmlrpc.php2
-rw-r--r--user_guide/changelog.html1
2 files changed, 2 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']])))
{
diff --git a/user_guide/changelog.html b/user_guide/changelog.html
index 198cef23b..93a7025f0 100644
--- a/user_guide/changelog.html
+++ b/user_guide/changelog.html
@@ -97,6 +97,7 @@ SVN Revision: </p>
<li>Fixed bugs in get_dir_file_info() and get_file_info() in the File Helper with recursion, and file paths on Windows.</li>
<li>Fixed a bug where Active Record override parameter would not let you disable Active Record if it was enabled in your database config file.</li>
<li>Fixed a bug in reduce_double_slashes() in the String Helper to properly remove duplicate leading slashes (#7585)</li>
+ <li>Fixed a bug in values_parsing() of the XML-RPC library which prevented NULL variables typed as 'string' from being handled properly.</li>
</ul>
<h2>Version 1.7.2</h2>