]> git.wh0rd.org Git - tt-rss.git/commitdiff
when checking filter expression for validity, do not include ttrss_feed_categories...
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sun, 19 May 2013 05:54:48 +0000 (09:54 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sun, 19 May 2013 05:54:48 +0000 (09:54 +0400)
include/functions.php

index 5296f9e61ea662db69291a0feb2fc6b71dba1ca8..2a8c23b5d6aee2a0d42a7d6df9033ae7d07ec6b5 100644 (file)
                                $filter_query_part = filter_to_sql($filter, $owner_uid);
 
                                // Try to check if SQL regexp implementation chokes on a valid regexp
+
+
                                $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);
 
                                if ($result) {