diff options
author | Andrew Dolgov <[email protected]> | 2011-05-04 12:17:15 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2011-05-04 12:17:15 +0400 |
commit | decf742ebddec017ffa22e3dd8647790969c7d7c (patch) | |
tree | ec1236d3b34604e166d72fb65af5ce8307835b14 | |
parent | 798f5a646c001db64ad15297607b116c119c617d (diff) |
filter to sql: fix missing bracket
-rw-r--r-- | functions.php | 2 |
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 "; } |