summaryrefslogtreecommitdiff
path: root/include/ccache.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/ccache.php')
-rw-r--r--include/ccache.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ccache.php b/include/ccache.php
index 406dec81d..b938b8664 100644
--- a/include/ccache.php
+++ b/include/ccache.php
@@ -139,6 +139,7 @@
$result = db_query("SELECT SUM(value) AS sv
FROM ttrss_counters_cache, ttrss_feeds
WHERE id = feed_id AND $cat_qpart AND
+ ttrss_counters_cache.owner_uid = $owner_uid AND
ttrss_feeds.owner_uid = '$owner_uid'");
$unread = (int) db_fetch_result($result, 0, "sv");