summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-10-23 17:00:18 +0400
committerAndrew Dolgov <[email protected]>2012-10-23 17:00:18 +0400
commit854fee097691804fcaa9dd39f4beacd60900acce (patch)
tree10fd27ddf186687a50457d50d49ee174807cbc16 /include
parentdd8c36af4be29c311cd3d6094b083371a4794368 (diff)
filter testing fix for pgsql
Diffstat (limited to 'include')
-rw-r--r--include/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions.php b/include/functions.php
index 5588cea8d..ccaea76ac 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");