--- rss.php.old	2010-03-17 05:39:50.000000000 +0100
+++ rss.php	2010-03-19 23:39:48.000000000 +0100
@@ -578,13 +578,14 @@
 
 		// find Etag, and Last-Modified
 		foreach( (array) $resp->headers as $h) {
-			// 2003-03-02 - Nicola Asuni (www.tecnick.com) - fixed bug "Undefined offset: 1"
-			if (strpos($h, ": ")) {
-				list($field, $val) = explode(": ", $h, 2);
-			}
-			else {
-				$field = $h;
-				$val = "";
+			if (is_string($h) {
+				if (strpos($h, ": ")) {
+					list($field, $val) = explode(": ", $h, 2);
+				}
+				else {
+					$field = $h;
+					$val = "";
+				}
 			}
 
 			if ( $field == 'ETag' ) {
