summaryrefslogtreecommitdiffstats
path: root/system/libraries/Xmlrpc.php
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2009-06-24 18:25:03 +0200
committerDerek Jones <derek.jones@ellislab.com>2009-06-24 18:25:03 +0200
commit7e39c0cdbaab7be5f8738ee964739e176d1639b7 (patch)
treeff40b39a640670d5e988c481bafb8e07c105c827 /system/libraries/Xmlrpc.php
parentb8d3c3defbef3563889641bf4448eeaa51519e42 (diff)
fixed dateTime.iso8601 processing in XML-RPC class
Diffstat (limited to 'system/libraries/Xmlrpc.php')
-rw-r--r--system/libraries/Xmlrpc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/libraries/Xmlrpc.php b/system/libraries/Xmlrpc.php
index 2022a7eba..4b3470c34 100644
--- a/system/libraries/Xmlrpc.php
+++ b/system/libraries/Xmlrpc.php
@@ -38,7 +38,7 @@ class CI_Xmlrpc {
var $xmlrpcBoolean = 'boolean';
var $xmlrpcDouble = 'double';
var $xmlrpcString = 'string';
- var $xmlrpcDateTime = 'datetime.iso8601';
+ var $xmlrpcDateTime = 'dateTime.iso8601';
var $xmlrpcBase64 = 'base64';
var $xmlrpcArray = 'array';
var $xmlrpcStruct = 'struct';
@@ -231,7 +231,7 @@ class CI_Xmlrpc {
{
if (is_array($value) && isset($value['0']))
{
- if ( ! isset($value['1']) OR ! isset($this->xmlrpcTypes[strtolower($value['1'])]))
+ if ( ! isset($value['1']) OR (! isset($this->xmlrpcTypes[$value['1']]) && ! isset($this->xmlrpcTypes[strtolower($value['1'])])))
{
if (is_array($value[0]))
{