mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-20 10:14:33 -04:00
Fix Favicon library warning
https://github.com/Alkarex/FreshRSS/commit/59dfc64512372eaba7609d84500d943bb7274399 https://github.com/FreshRSS/FreshRSS/issues/1445#issuecomment-284176492
This commit is contained in:
1 parent
f6148e1f32
commit
6102489d57
1 file changed
+3
@@ -89,6 +89,9 @@ class Favicon
|
||||
$loop = TRUE;
|
||||
while ($loop && $max_loop-- > 0) {
|
||||
$headers = $this->dataAccess->retrieveHeader($url);
|
||||
if (empty($headers)) {
|
||||
return false;
|
||||
}
|
||||
$exploded = explode(' ', $headers[0]);
|
||||
|
||||
if( !isset($exploded[1]) ) {
|
||||
|
||||
Reference in new issue
Block a user