From: Andrew Dolgov Date: Wed, 4 May 2011 08:17:15 +0000 (+0400) Subject: filter to sql: fix missing bracket X-Git-Tag: 1.5.4~4 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=decf742ebddec017ffa22e3dd8647790969c7d7c;p=tt-rss.git filter to sql: fix missing bracket --- diff --git a/functions.php b/functions.php index 32c642a1..c31ee3f6 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 "; }