From 5859be022e60b8c9b93c3b62b78c2b794ec947b4 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 18 Nov 2005 21:03:51 +0100 Subject: [PATCH] feed/label MarkAllRead is uid-aware now --- backend.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend.php b/backend.php index 4b10cbdb..6dec10d1 100644 --- a/backend.php +++ b/backend.php @@ -556,7 +556,7 @@ if ($feed == -1) { db_query($link, "UPDATE ttrss_entries SET unread = false,last_read = NOW() - WHERE marked = true"); + WHERE marked = true AND owner_uid = ".$_SESSION["uid"]); } } else if ($feed < -10) { // label @@ -571,7 +571,7 @@ db_query($link, "UPDATE ttrss_entries SET unread = false,last_read = NOW() - WHERE $sql_exp"); + WHERE $sql_exp AND owner_uid = ".$_SESSION["uid"]); } } } else { // tag -- 2.39.5