mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
hehe
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5121 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
4cc92e89b3
commit
5f2a1476d4
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ class sql_db
|
||||||
$this->num_queries++;
|
$this->num_queries++;
|
||||||
|
|
||||||
$query = preg_replace("/LIMIT ([0-9]+),([ 0-9]+)/", "LIMIT \\2 OFFSET \\1", $query);
|
$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);
|
$query = preg_replace('#(.*WHERE.*)(username|user_email|ban_email) = \'(.*)\'#ise', "\"\\1LOWER(\\2) = '\" . strtolower('\\3') . \"'\"", $query);
|
||||||
|
|
||||||
if( $transaction == BEGIN_TRANSACTION && !$this->in_transaction )
|
if( $transaction == BEGIN_TRANSACTION && !$this->in_transaction )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue