mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-28 04:20:32 +02:00
fix postgresql case-sensitivity issue
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5120 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -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 )
|
||||
{
|
||||
|
Reference in New Issue
Block a user