diff options
author | fox <[email protected]> | 2018-12-09 01:29:08 +0000 |
---|---|---|
committer | Gogs <[email protected]> | 2018-12-09 01:29:08 +0000 |
commit | 9545fc6c84ba123a8bb72a1ffb1425c7e5f1d620 (patch) | |
tree | fd402f376b98fae59d82f4812c13c79e5dd18d5c /classes/ccache.php | |
parent | 8f5b5ae09eb90bf271d95654943bd8c7f783e8a4 (diff) | |
parent | c70dc852a19e5725dec9311a2257ded2be1cc061 (diff) |
Merge branch 'fix-ambiguous-id' of chtitux/tt-rss into master
Diffstat (limited to 'classes/ccache.php')
-rw-r--r-- | classes/ccache.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/ccache.php b/classes/ccache.php index 9c5547e7d..2f19140e0 100644 --- a/classes/ccache.php +++ b/classes/ccache.php @@ -141,7 +141,7 @@ class CCache { $sth = $pdo->prepare("SELECT SUM(value) AS sv FROM ttrss_counters_cache, ttrss_feeds - WHERE id = feed_id AND + WHERE ttrss_feeds.id = feed_id AND (cat_id = :cat OR (:cat = 0 AND cat_id IS NULL)) AND ttrss_counters_cache.owner_uid = :uid AND ttrss_feeds.owner_uid = :uid"); |