summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php
index 4ca5582d3..95b4db2dd 100644
--- a/functions.php
+++ b/functions.php
@@ -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 {