filter to sql: fix missing bracket
This commit is contained in:
parent
798f5a646c
commit
decf742ebd
|
@ -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 ";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue