Index: modules/update/update.fetch.inc
===================================================================
RCS file: /cvs/drupal/drupal/modules/update/update.fetch.inc,v
retrieving revision 1.7.2.7
diff -u -r1.7.2.7 update.fetch.inc
--- modules/update/update.fetch.inc	21 Jul 2009 08:59:12 -0000	1.7.2.7
+++ modules/update/update.fetch.inc	29 Dec 2010 00:13:43 -0000
@@ -46,7 +46,7 @@
   // to clear out the stale data at this point.
   _update_cache_clear('update_available_releases');
   $max_fetch_attempts = variable_get('update_max_fetch_attempts', UPDATE_MAX_FETCH_ATTEMPTS);
-  
+
   foreach ($projects as $key => $project) {
     $url = _update_build_fetch_url($project, $site_key);
     $fetch_url_base = _update_get_fetch_url_base($project);
@@ -254,8 +254,10 @@
         $this->current_object = &$this->current_release;
         break;
       default:
-        $this->current_object[strtolower($this->current_tag)] = trim($this->current_object[strtolower($this->current_tag)]);
-        $this->current_tag = '';
+        if (!empty($this->current_tag)) {
+          $this->current_object[strtolower($this->current_tag)] = trim($this->current_object[strtolower($this->current_tag)]);
+          $this->current_tag = '';
+        }
     }
   }
 
