diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-06-27 07:26:31 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-06-27 07:26:31 +0000 |
commit | ba625835153e059db824923c4ed6c7858e41a930 (patch) | |
tree | 02b0b61da5fc25afc086e26ab0f3e1d32f641c1e /includes/xmlrpc.inc | |
parent | 32afb3293569649ff9d751f3fe71cd3cbd27989e (diff) | |
download | brdo-ba625835153e059db824923c4ed6c7858e41a930.tar.gz brdo-ba625835153e059db824923c4ed6c7858e41a930.tar.bz2 |
- Patch #245961 boombatower: fixed exceptions in XML-RPC library.
Diffstat (limited to 'includes/xmlrpc.inc')
-rw-r--r-- | includes/xmlrpc.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/xmlrpc.inc b/includes/xmlrpc.inc index c01f8e47b..4895e9802 100644 --- a/includes/xmlrpc.inc +++ b/includes/xmlrpc.inc @@ -67,10 +67,10 @@ function xmlrpc_value_calculate_type(&$xmlrpc_value) { return empty($xmlrpc_value->data) || range(0, count($xmlrpc_value->data) - 1) === array_keys($xmlrpc_value->data) ? 'array' : 'struct'; } if (is_object($xmlrpc_value->data)) { - if ($xmlrpc_value->data->is_date) { + if (isset($xmlrpc_value->data->is_date)) { return 'date'; } - if ($xmlrpc_value->data->is_base64) { + if (isset($xmlrpc_value->data->is_base64)) { return 'base64'; } $xmlrpc_value->data = get_object_vars($xmlrpc_value->data); |