summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/functions.php b/functions.php
index 7ec46f097..3dbe0f84b 100644
--- a/functions.php
+++ b/functions.php
@@ -2398,6 +2398,7 @@
WHERE
ref_id = ttrss_entries.id AND feed_id = ttrss_feeds.id
AND $interval_query
+ AND ttrss_user_entries.owner_uid = $user_id
AND unread = true ORDER BY ttrss_feeds.title, date_entered DESC
LIMIT $limit");