mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 15:35:55 +00:00
fix search query test statement stopping valid modifiers like unread: from working
This commit is contained in:
@@ -1460,7 +1460,9 @@ class Feeds extends Handler_Protected {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (DB_TYPE == "pgsql") {
|
if (DB_TYPE == "pgsql") {
|
||||||
$test_sth = $pdo->prepare("select $search_query_part from ttrss_entries limit 1");
|
$test_sth = $pdo->prepare("select $search_query_part
|
||||||
|
FROM ttrss_entries, ttrss_user_entries WHERE id = ref_id limit 1");
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$test_sth->execute();
|
$test_sth->execute();
|
||||||
} catch (PDOException $e) {
|
} catch (PDOException $e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user