made catchupAll uid-aware

This commit is contained in:
Andrew Dolgov 2005-11-18 10:28:27 +01:00
parent e1aa0559c7
commit 6d15e1ef30
1 changed files with 2 additions and 1 deletions

View File

@ -410,7 +410,8 @@
$subop = $_GET["subop"]; $subop = $_GET["subop"];
if ($subop == "catchupAll") { if ($subop == "catchupAll") {
db_query($link, "UPDATE ttrss_entries SET last_read = NOW(),unread = false"); db_query($link, "UPDATE ttrss_entries SET
last_read = NOW(),unread = false WHERE owner_uid = " . $_SESSION["uid"]);
} }
outputFeedList($link, $tags); outputFeedList($link, $tags);