Commit 4e9a12dd authored by Dries's avatar Dries
Browse files

- Patch #59513 by chx: critical bugfix: XML-RPC drops empty parameters.

parent 9db0636b
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment