From 95ac7e77becc5fe6f89e9199e61eca45716ae698 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 22 Jun 2010 16:56:16 +0000 Subject: [PATCH] fix for PostgreSQL 8.3, using "::text ILIKE", hopefully that works in older versions too --- phpgwapi/inc/class.egw_db.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.egw_db.inc.php b/phpgwapi/inc/class.egw_db.inc.php index dccda952b1..9d881fe142 100644 --- a/phpgwapi/inc/class.egw_db.inc.php +++ b/phpgwapi/inc/class.egw_db.inc.php @@ -504,7 +504,7 @@ class egw_db $this->capabilities[self::CAPABILITY_NAME_CASE] = 'lower'; $this->capabilities[self::CAPABILITY_CLIENT_ENCODING] = (float) $db_version >= 7.4; $this->capabilities[self::CAPABILITY_OUTER_JOIN] = true; - $this->capabilities[self::CAPABILITY_CASE_INSENSITIV_LIKE] = 'ILIKE'; + $this->capabilities[self::CAPABILITY_CASE_INSENSITIV_LIKE] = '::text ILIKE'; $this->capabilities[self::CAPABILITY_REQUIRE_TRUNCATE_VARCHAR] = true; break;