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
1 changed files with 29 additions and 26 deletions

View File

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