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];