From decf742ebddec017ffa22e3dd8647790969c7d7c Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 4 May 2011 12:17:15 +0400 Subject: [PATCH] filter to sql: fix missing bracket --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 "; }