|
From: Markus P. <mar...@us...> - 2005-04-17 10:06:49
|
Update of /cvsroot/mxbb/core/install/db In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12681 Modified Files: postgres7.php Log Message: Fixed postgres7.php as per changes introduced in phpBB 2.0.14 ;-) Index: postgres7.php =================================================================== RCS file: /cvsroot/mxbb/core/install/db/postgres7.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** postgres7.php 6 Apr 2005 06:35:00 -0000 1.1 --- postgres7.php 17 Apr 2005 10:06:40 -0000 1.2 *************** *** 124,127 **** --- 124,128 ---- $query = preg_replace("/LIMIT ([0-9]+),([ 0-9]+)/", "LIMIT \\2 OFFSET \\1", $query); + $query = preg_replace('#(.*WHERE.*)(username|user_email|ban_email) = \'(.*)\'#ise', "\"\\1LOWER(\\2) = '\" . strtolower('\\3') . \"'\"", $query); if( $transaction == BEGIN_TRANSACTION && !$this->in_transaction ) |