filter to sql: fix missing bracket

This commit is contained in:
Andrew Dolgov 2011-05-04 12:17:15 +04:00
parent 798f5a646c
commit decf742ebd
1 changed files with 1 additions and 1 deletions

View File

@ -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 ";
}