Skip to content
Snippets Groups Projects
Commit 4e9a12dd authored by Dries Buytaert's avatar Dries Buytaert
Browse files

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

parent 9db0636b
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment