properly select next unread feed in feedlist when catching up

This commit is contained in:
Andrew Dolgov 2009-01-21 16:34:19 +01:00
parent 6b244a85a4
commit 1098687a22

View file

@ -289,7 +289,11 @@
WHERE id = '$feed' AND owner_uid = ".$_SESSION["uid"]);
}
print "<headlines id=\"$feed\" is_cat=\"$cat_view\"><![CDATA[";
if (!$next_unread_feed) {
print "<headlines id=\"$feed\" is_cat=\"$cat_view\"><![CDATA[";
} else {
print "<headlines id=\"$next_unread_feed\" is_cat=\"$cat_view\"><![CDATA[";
}
$override_order = false;