A free, self-hostable news aggregator…
Fix favicon warning
Alexandre Alapetite59dfc6451237
diff --git a/lib/Favicon/DataAccess.php b/lib/Favicon/DataAccess.phpindex ae7509881..838df66c3 100644--- a/lib/Favicon/DataAccess.php+++ b/lib/Favicon/DataAccess.php@@ -16,7 +16,7 @@ class DataAccess {public function retrieveHeader($url) {$this->set_context();$headers = @get_headers($url, 1);- return $headers ? array_change_key_case($headers) : array();+ return is_array($headers) ? array_change_key_case($headers) : array();}public function saveCache($file, $data) {