getFeedIcon: check if real feed icon file exists
This commit is contained in:
parent
f9c388f509
commit
e2eda97930
1 changed files with 2 additions and 1 deletions
|
@ -3048,6 +3048,7 @@
|
||||||
if ($id < -10) {
|
if ($id < -10) {
|
||||||
return "images/label.png";
|
return "images/label.png";
|
||||||
} else {
|
} else {
|
||||||
|
if (file_exists(ICONS_DIR . "/$id.ico"))
|
||||||
return ICONS_URL . "/$id.ico";
|
return ICONS_URL . "/$id.ico";
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue