1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-27 09:01:28 +00:00

getFeedIcon: check if real feed icon file exists

This commit is contained in:
Andrew Dolgov
2010-11-20 15:30:45 +03:00
parent f9c388f509
commit e2eda97930

View File

@@ -3048,7 +3048,8 @@
if ($id < -10) {
return "images/label.png";
} else {
return ICONS_URL . "/$id.ico";
if (file_exists(ICONS_DIR . "/$id.ico"))
return ICONS_URL . "/$id.ico";
}
break;
}