diff --git a/backend.php b/backend.php
index 8ddb391a5..de212d645 100644
--- a/backend.php
+++ b/backend.php
@@ -373,11 +373,16 @@
$class = ($lnum % 2) ? "even" : "odd";
+ $id = $line["id"];
+ $feed_id = $line["feed_id"];
+
if ($line["last_read_ts"] < $line["updated_ts"] && $line["unread"] == "f") {
- $update_pic = "
";
+ $update_pic = "
";
++$num_unread;
} else {
- $update_pic = "
";
+ $update_pic = "
";
}
if ($line["unread"] == "t") {
@@ -385,9 +390,6 @@
++$num_unread;
}
- $id = $line["id"];
- $feed_id = $line["feed_id"];
-
if ($line["marked"] == "t") {
$marked_pic = "
";
@@ -402,7 +404,7 @@
print "