Index: Sites/plugins/wordpress-importer/trunk/wordpress-importer.php
===================================================================
--- Sites/plugins/wordpress-importer/trunk/wordpress-importer.php	(revision 271297)
+++ Sites/plugins/wordpress-importer/trunk/wordpress-importer.php	(working copy)
@@ -736,7 +736,7 @@
 		$this->url_remap[$url] = $upload['url'];
 		$this->url_remap[$post['guid']] = $upload['url'];
 		// if the remote url is redirected somewhere else, keep track of the destination too
-		if ( $headers['x-final-location'] != $url )
+		if ( isset( $headers['x-final-location'] ) && $headers['x-final-location'] != $url )
 			$this->url_remap[$headers['x-final-location']] = $upload['url'];
 
 		return $upload;
