summaryrefslogtreecommitdiff
path: root/classes/Counters.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/Counters.php')
-rw-r--r--classes/Counters.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/Counters.php b/classes/Counters.php
index e20657947..4f23a7a41 100644
--- a/classes/Counters.php
+++ b/classes/Counters.php
@@ -157,7 +157,7 @@ class Counters {
$sth = $pdo->prepare("SELECT f.id,
f.title,
- ".SUBSTRING_FOR_DATE."(f.last_updated,1,19) AS last_updated,
+ SUBSTRING_FOR_DATE(f.last_updated,1,19) AS last_updated,
f.last_error,
SUM(CASE WHEN unread THEN 1 ELSE 0 END) AS count,
SUM(CASE WHEN marked THEN 1 ELSE 0 END) AS count_marked
@@ -169,7 +169,7 @@ class Counters {
} else {
$sth = $pdo->prepare("SELECT f.id,
f.title,
- ".SUBSTRING_FOR_DATE."(f.last_updated,1,19) AS last_updated,
+ SUBSTRING_FOR_DATE(f.last_updated,1,19) AS last_updated,
f.last_error,
SUM(CASE WHEN unread THEN 1 ELSE 0 END) AS count,
SUM(CASE WHEN marked THEN 1 ELSE 0 END) AS count_marked