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

- Patch #245961 boombatower: fixed exceptions in XML-RPC library.

parent 32afb329
Branches
Tags
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
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment