feed/label MarkAllRead is uid-aware now
This commit is contained in:
parent
b88917afd4
commit
5859be022e
1 changed files with 2 additions and 2 deletions
|
@ -556,7 +556,7 @@
|
||||||
if ($feed == -1) {
|
if ($feed == -1) {
|
||||||
db_query($link, "UPDATE ttrss_entries
|
db_query($link, "UPDATE ttrss_entries
|
||||||
SET unread = false,last_read = NOW()
|
SET unread = false,last_read = NOW()
|
||||||
WHERE marked = true");
|
WHERE marked = true AND owner_uid = ".$_SESSION["uid"]);
|
||||||
}
|
}
|
||||||
|
|
||||||
} else if ($feed < -10) { // label
|
} else if ($feed < -10) { // label
|
||||||
|
@ -571,7 +571,7 @@
|
||||||
|
|
||||||
db_query($link, "UPDATE ttrss_entries
|
db_query($link, "UPDATE ttrss_entries
|
||||||
SET unread = false,last_read = NOW()
|
SET unread = false,last_read = NOW()
|
||||||
WHERE $sql_exp");
|
WHERE $sql_exp AND owner_uid = ".$_SESSION["uid"]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else { // tag
|
} else { // tag
|
||||||
|
|
Loading…
Reference in a new issue