summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-08-16 07:39:57 +0100
committerAndrew Dolgov <[email protected]>2006-08-16 07:39:57 +0100
commit68c1b64ff1950963db69780dc15b33015cdece6f (patch)
tree7c16a6d9bf311e9122a7f844129fe45803d6ac09
parent0da49badd4ff20af850874539a7dda44fcc79e96 (diff)
fix broken globalUpdateFeeds processing
-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 {