Browse Source

fix warning

master
Denis Ryabov 10 years ago
parent
commit
87b8356aae
  1. 2
      rssreader.php

2
rssreader.php

@ -34,7 +34,7 @@ function getRssFeed($feed_uri, $reload = false) @@ -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);

Loading…
Cancel
Save