diff options
-rw-r--r-- | includes/xmlrpc.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/xmlrpc.inc b/includes/xmlrpc.inc index 19ccd445a..c7751e1c1 100644 --- a/includes/xmlrpc.inc +++ b/includes/xmlrpc.inc @@ -256,7 +256,7 @@ function xmlrpc_message_tag_close($parser, $tag) { case 'value': // If no type is indicated, the type is string // We take special care for empty values - if (trim($xmlrpc_message->current_tag_contents) != '' || $xmlrpc_message->last_open == 'value') { + if (trim($xmlrpc_message->current_tag_contents) != '' || (isset($xmlrpc_message->last_open) && ($xmlrpc_message->last_open == 'value'))) { $value = (string)$xmlrpc_message->current_tag_contents; $value_flag = TRUE; } |