aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2002-01-25 01:59:34 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2002-01-25 01:59:34 +0000
commit2ebc299d3550c447af752f4afeb61697d408c3b3 (patch)
treec382978e3afa453722626ea57366d908a4c62d1a /phpBB
parentcc8be01b330b5a5b35ad1fe827e52b1a8ea5dd77 (diff)
downloadforums-2ebc299d3550c447af752f4afeb61697d408c3b3.tar
forums-2ebc299d3550c447af752f4afeb61697d408c3b3.tar.gz
forums-2ebc299d3550c447af752f4afeb61697d408c3b3.tar.bz2
forums-2ebc299d3550c447af752f4afeb61697d408c3b3.tar.xz
forums-2ebc299d3550c447af752f4afeb61697d408c3b3.zip
Re-added str_replace for LOWER -> LCASE in queries
git-svn-id: file:///svn/phpbb/trunk@1942 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/db/msaccess.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/db/msaccess.php b/phpBB/db/msaccess.php
index 6675581081..196bedda1c 100644
--- a/phpBB/db/msaccess.php
+++ b/phpBB/db/msaccess.php
@@ -103,6 +103,8 @@ class sql_db
$this->in_transaction = TRUE;
}
+ $query = str_replace("LOWER(", "LCASE(", $query);
+
if( preg_match("/^SELECT(.*?)(LIMIT ([0-9]+)[, ]*([0-9]+)*)?$/s", $query, $limits) )
{
$query = $limits[1];