diff options
Diffstat (limited to 'plugins/vf_shared/init.php')
-rw-r--r-- | plugins/vf_shared/init.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/vf_shared/init.php b/plugins/vf_shared/init.php index a3b0daeb6..941d3c8ad 100644 --- a/plugins/vf_shared/init.php +++ b/plugins/vf_shared/init.php @@ -25,7 +25,7 @@ class VF_Shared extends Plugin { * @SuppressWarnings(PHPMD.UnusedFormalParameter) */ function get_unread($feed_id) { - $sth = $this->pdo->prepare("select count(int_id) AS count + $sth = $this->pdo->prepare("select count(int_id) AS count from ttrss_user_entries where owner_uid = ? and unread = true and uuid != ''"); $sth->execute([$_SESSION['uid']]); @@ -40,7 +40,7 @@ class VF_Shared extends Plugin { * @SuppressWarnings(PHPMD.UnusedFormalParameter) */ function get_total($feed_id) { - $sth = $this->pdo->prepare("select count(int_id) AS count + $sth = $this->pdo->prepare("select count(int_id) AS count from ttrss_user_entries where owner_uid = ? and uuid != ''"); $sth->execute([$_SESSION['uid']]); |