Commit 2e2c2bca authored by Dries's avatar Dries

- Patch #226555 by jvandyk, vladimir, rok, et al: remove E_NOTICE.

parent f5d4287c
......@@ -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;
}
......
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