From 3a0292303e453f38204279b5d1c978a4b9c367e9 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 3 Nov 2018 15:08:43 +0300 Subject: php: remove trailing whitespaces --- plugins/vf_shared/init.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/vf_shared') 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']]); -- cgit v1.2.3-54-g00ecf