From: Andrew Dolgov Date: Tue, 23 Oct 2012 13:00:18 +0000 (+0400) Subject: filter testing fix for pgsql X-Git-Tag: 1.6.1~70 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=854fee097691804fcaa9dd39f4beacd60900acce;p=tt-rss.git filter testing fix for pgsql --- diff --git a/include/functions.php b/include/functions.php index 5588cea8..ccaea76a 100644 --- a/include/functions.php +++ b/include/functions.php @@ -2324,7 +2324,7 @@ $filter_query_part = filter_to_sql($filter); // Try to check if SQL regexp implementation chokes on a valid regexp - $result = db_query($link, "SELECT true FROM ttrss_entries + $result = db_query($link, "SELECT true AS true FROM ttrss_entries WHERE $filter_query_part LIMIT 1", false); $test = db_fetch_result($result, 0, "true");