summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-05-04 12:17:15 +0400
committerAndrew Dolgov <[email protected]>2011-05-04 12:17:15 +0400
commitdecf742ebddec017ffa22e3dd8647790969c7d7c (patch)
treeec1236d3b34604e166d72fb65af5ce8307835b14 /functions.php
parent798f5a646c001db64ad15297607b116c119c617d (diff)
filter to sql: fix missing bracket
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php
index 32c642a19..c31ee3f63 100644
--- a/functions.php
+++ b/functions.php
@@ -7353,7 +7353,7 @@
if (DB_TYPE == "pgsql") {
$query = " ($query) AND ttrss_entries.date_entered > NOW() - INTERVAL '14 days'";
} else {
- $query = " ($query) AND ttrss_entries.date_entered > DATE_SUB(NOW(), INTERVAL 14 DAY";
+ $query = " ($query) AND ttrss_entries.date_entered > DATE_SUB(NOW(), INTERVAL 14 DAY)";
}
$query .= " AND ";
}