fix search query test statement stopping valid modifiers like unread: from working
This commit is contained in:
parent
de713035fd
commit
09f520eda2
|
@ -1460,7 +1460,9 @@ class Feeds extends Handler_Protected {
|
|||
}
|
||||
|
||||
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 {
|
||||
$test_sth->execute();
|
||||
} catch (PDOException $e) {
|
||||
|
|
Loading…
Reference in New Issue