fix broken globalUpdateFeeds processing

This commit is contained in:
Andrew Dolgov 2006-08-16 07:39:57 +01:00
parent 0da49badd4
commit 68c1b64ff1
1 changed files with 1 additions and 1 deletions

View File

@ -683,7 +683,7 @@
num_comments = '$num_comments'
WHERE id = '$ref_id'");
if (get_pref($link, "MARK_UNREAD_ON_UPDATE")) {
if (get_pref($link, "MARK_UNREAD_ON_UPDATE", $owner_uid)) {
db_query($link, "UPDATE ttrss_user_entries
SET last_read = null, unread = true WHERE ref_id = '$ref_id'");
} else {