From 87b8356aae1bcbb5b8bf63ba6a1f72dd4bdf1d7a Mon Sep 17 00:00:00 2001 From: Denis Ryabov Date: Wed, 6 Aug 2014 15:52:01 +0400 Subject: [PATCH] fix warning --- rssreader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rssreader.php b/rssreader.php index 2ccf857..f3dedc3 100644 --- a/rssreader.php +++ b/rssreader.php @@ -34,7 +34,7 @@ function getRssFeed($feed_uri, $reload = false) $value = trim($h[1]); if (!isset($headers_arr[$key])) $headers_arr[$key] = $value; - elseif (is_array($headers[$key])) + elseif (is_array($headers_arr[$key])) $headers_arr[$key][] = $value; else $headers_arr[$key] = array($headers_arr[$key], $value);