diff --git a/phpBB/db/postgres7.php b/phpBB/db/postgres7.php index 96a90fbb1a..03aa7ce15e 100644 --- a/phpBB/db/postgres7.php +++ b/phpBB/db/postgres7.php @@ -123,6 +123,7 @@ class sql_db $this->num_queries++; $query = preg_replace("/LIMIT ([0-9]+),([ 0-9]+)/", "LIMIT \\2 OFFSET \\1", $query); + $query = preg_replace('#(.*SELECT.*)(username|user_email|ban_email) = \'(.*)\'#ise', "\"\\1LOWER(\\2) = '\" . strtolower('\\3') . \"'\"", $query); if( $transaction == BEGIN_TRANSACTION && !$this->in_transaction ) { diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html index 5264bef6c2..7a56cd8671 100644 --- a/phpBB/docs/CHANGELOG.html +++ b/phpBB/docs/CHANGELOG.html @@ -3,7 +3,7 @@
-