Index: includes/xmlrpc.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/xmlrpc.inc,v
retrieving revision 1.47
diff -u -p -r1.47 xmlrpc.inc
--- includes/xmlrpc.inc	9 Jan 2008 21:52:43 -0000	1.47
+++ includes/xmlrpc.inc	25 Feb 2008 18:44:53 -0000
@@ -67,7 +67,7 @@ function xmlrpc_value_calculate_type(&$x
     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) {
@@ -256,7 +256,7 @@ function xmlrpc_message_tag_close($parse
     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;
       }
