1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-14 08:15:55 +00:00

test for veed validity before displaying it in the browser

This commit is contained in:
Andrew Dolgov
2009-01-20 15:32:59 +01:00
parent ec800fe1f2
commit 040ed8c67d

View File

@@ -182,6 +182,8 @@
$details = db_fetch_assoc($det_result); $details = db_fetch_assoc($det_result);
if ($details) {
$icon_file = ICONS_DIR . "/" . $details["id"] . ".ico"; $icon_file = ICONS_DIR . "/" . $details["id"] . ".ico";
if (file_exists($icon_file) && filesize($icon_file) > 0) { if (file_exists($icon_file) && filesize($icon_file) > 0) {
@@ -210,6 +212,7 @@
++$feedctr; ++$feedctr;
} }
}
print "</ul>"; print "</ul>";