From: Andrew Dolgov Date: Wed, 16 Aug 2006 06:39:57 +0000 (+0100) Subject: fix broken globalUpdateFeeds processing X-Git-Tag: schema_freeze_for_1.2.2~11 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=68c1b64ff1950963db69780dc15b33015cdece6f;p=tt-rss.git fix broken globalUpdateFeeds processing --- diff --git a/functions.php b/functions.php index 4ca5582d..95b4db2d 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 {