mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-08-30 10:41:04 +02:00
catchup_feed: set article last_read when catching up a label
This commit is contained in:
parent
6f69764ccf
commit
338c238d93
@ -2228,7 +2228,8 @@
|
||||
$label_id = -$feed - 11;
|
||||
|
||||
db_query($link, "UPDATE ttrss_user_entries, ttrss_user_labels2
|
||||
SET unread = false WHERE label_id = '$label_id' AND unread = true
|
||||
SET unread = false, last_read = NOW()
|
||||
WHERE label_id = '$label_id' AND unread = true
|
||||
AND owner_uid = '".$_SESSION["uid"]."' AND ref_id = article_id");
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user