From 5aa220bcd21c6e3decd8f2b9833dc90a8ee6a274 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Sun, 24 Jun 2007 12:49:13 +0000 Subject: tweak the sql_like_expression feature a little bit to allow correct escaping git-svn-id: file:///svn/phpbb/trunk@7789 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/db/postgres.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'phpBB/includes/db/postgres.php') diff --git a/phpBB/includes/db/postgres.php b/phpBB/includes/db/postgres.php index e85a8d8f3f..340c32b37a 100644 --- a/phpBB/includes/db/postgres.php +++ b/phpBB/includes/db/postgres.php @@ -345,6 +345,15 @@ class dbal_postgres extends dbal return @pg_escape_string($msg); } + /** + * Build LIKE expression + * @access private + */ + function _sql_like_expression($expression) + { + return $expression; + } + /** * return sql error array * @access private -- cgit v1.2.1