diff --git a/modules/pref-feed-browser.php b/modules/pref-feed-browser.php
index 710d14a2c..01d350458 100644
--- a/modules/pref-feed-browser.php
+++ b/modules/pref-feed-browser.php
@@ -181,34 +181,37 @@
ORDER BY last_updated $order_fix LIMIT 1");
$details = db_fetch_assoc($det_result);
+
+ if ($details) {
- $icon_file = ICONS_DIR . "/" . $details["id"] . ".ico";
-
- if (file_exists($icon_file) && filesize($icon_file) > 0) {
- $feed_icon = "";
- } else {
- $feed_icon = "
";
+ $icon_file = ICONS_DIR . "/" . $details["id"] . ".ico";
+
+ if (file_exists($icon_file) && filesize($icon_file) > 0) {
+ $feed_icon = "
";
+ } else {
+ $feed_icon = "
";
+ }
+
+ $check_box = "";
+
+ $class = ($feedctr % 2) ? "even" : "odd";
+
+ print "