filter to sql: fix missing bracket
This commit is contained in:
parent
798f5a646c
commit
decf742ebd
1 changed files with 1 additions and 1 deletions
|
@ -7353,7 +7353,7 @@
|
||||||
if (DB_TYPE == "pgsql") {
|
if (DB_TYPE == "pgsql") {
|
||||||
$query = " ($query) AND ttrss_entries.date_entered > NOW() - INTERVAL '14 days'";
|
$query = " ($query) AND ttrss_entries.date_entered > NOW() - INTERVAL '14 days'";
|
||||||
} else {
|
} 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 ";
|
$query .= " AND ";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue