summaryrefslogtreecommitdiff
path: root/classes/ccache.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-11-03 15:08:43 +0300
committerAndrew Dolgov <[email protected]>2018-11-03 15:08:43 +0300
commit3a0292303e453f38204279b5d1c978a4b9c367e9 (patch)
tree2636ec8e8fcb32cd678084d2907bab273bfd3c60 /classes/ccache.php
parent3b9f982ec6398312ba52cc807c53ce8b78fbc649 (diff)
php: remove trailing whitespaces
Diffstat (limited to 'classes/ccache.php')
-rw-r--r--classes/ccache.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/ccache.php b/classes/ccache.php
index 87c14e78e..9c5547e7d 100644
--- a/classes/ccache.php
+++ b/classes/ccache.php
@@ -130,7 +130,7 @@ class CCache {
if (!$pcat_fast) {
$sth = $pdo->prepare("SELECT id FROM ttrss_feeds
- WHERE owner_uid = :uid AND
+ WHERE owner_uid = :uid AND
(cat_id = :cat OR (:cat = 0 AND cat_id IS NULL))");
$sth->execute([":uid" => $owner_uid, ":cat" => $feed_id]);
@@ -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 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");