summaryrefslogtreecommitdiff
path: root/includes/xmlrpc.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-04-20 05:44:22 +0000
committerDries Buytaert <dries@buytaert.net>2006-04-20 05:44:22 +0000
commit4e9a12ddb8f3d3c986aa9213df1ee7f0bd90f655 (patch)
tree75955ed193cf4d52c25449cd8b4b51362c057279 /includes/xmlrpc.inc
parent9db0636b987f877b389d2c731c2f15eb4e46943d (diff)
downloadbrdo-4e9a12ddb8f3d3c986aa9213df1ee7f0bd90f655.tar.gz
brdo-4e9a12ddb8f3d3c986aa9213df1ee7f0bd90f655.tar.bz2
- Patch #59513 by chx: critical bugfix: XML-RPC drops empty parameters.
Diffstat (limited to 'includes/xmlrpc.inc')
-rw-r--r--includes/xmlrpc.inc7
1 files changed, 2 insertions, 5 deletions
diff --git a/includes/xmlrpc.inc b/includes/xmlrpc.inc
index c1cf22d30..f87b16ff9 100644
--- a/includes/xmlrpc.inc
+++ b/includes/xmlrpc.inc
@@ -213,11 +213,8 @@ function xmlrpc_message_tag_close($parser, $tag) {
$value_flag = TRUE;
break;
case 'value':
- // "If no type is indicated, the type is string."
- if (trim($xmlrpc_message->current_tag_contents) != '') {
- $value = (string)$xmlrpc_message->current_tag_contents;
- $value_flag = TRUE;
- }
+ $value = (string)$xmlrpc_message->current_tag_contents;
+ $value_flag = TRUE;
break;
case 'boolean':
$value = (boolean)trim($xmlrpc_message->current_tag_contents);