when checking filter expression for validity, do not include ttrss_feed_categories (closes #689)
This commit is contained in:
parent
dce5037888
commit
7711086b9a
1 changed files with 3 additions and 1 deletions
|
@ -2334,8 +2334,10 @@
|
||||||
$filter_query_part = filter_to_sql($filter, $owner_uid);
|
$filter_query_part = filter_to_sql($filter, $owner_uid);
|
||||||
|
|
||||||
// Try to check if SQL regexp implementation chokes on a valid regexp
|
// Try to check if SQL regexp implementation chokes on a valid regexp
|
||||||
|
|
||||||
|
|
||||||
$result = db_query("SELECT true AS true_val FROM ttrss_entries,
|
$result = db_query("SELECT true AS true_val FROM ttrss_entries,
|
||||||
ttrss_user_entries, ttrss_feeds, ttrss_feed_categories
|
ttrss_user_entries, ttrss_feeds
|
||||||
WHERE $filter_query_part LIMIT 1", false);
|
WHERE $filter_query_part LIMIT 1", false);
|
||||||
|
|
||||||
if ($result) {
|
if ($result) {
|
||||||
|
|
Loading…
Reference in a new issue