Mercurial > defr > drupal > core
diff includes/xmlrpc.inc @ 5:2427550111ae 6.2
Drupal 6.2
author | Franck Deroche <webmaster@defr.org> |
---|---|
date | Tue, 23 Dec 2008 14:30:08 +0100 |
parents | c1f4ac30525a |
children | fff6d4c8c043 |
line wrap: on
line diff
--- a/includes/xmlrpc.inc Tue Dec 23 14:29:21 2008 +0100 +++ b/includes/xmlrpc.inc Tue Dec 23 14:30:08 2008 +0100 @@ -1,5 +1,5 @@ <?php -// $Id: xmlrpc.inc,v 1.47 2008/01/09 21:52:43 goba Exp $ +// $Id: xmlrpc.inc,v 1.47.2.1 2008/03/21 22:12:56 goba Exp $ /** * @file @@ -256,7 +256,7 @@ 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; }