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

merge-requests/26/head
Dries Buytaert 2008-03-15 12:59:22 +00:00
parent f5d4287cd5
commit 2e2c2bcac0
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}