mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-02-10 16:01:33 +00:00
getFeedIcon: check if real feed icon file exists
This commit is contained in:
+2
-1
@@ -3048,7 +3048,8 @@
|
|||||||
if ($id < -10) {
|
if ($id < -10) {
|
||||||
return "images/label.png";
|
return "images/label.png";
|
||||||
} else {
|
} else {
|
||||||
return ICONS_URL . "/$id.ico";
|
if (file_exists(ICONS_DIR . "/$id.ico"))
|
||||||
|
return ICONS_URL . "/$id.ico";
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user