Replaced preg_replace

git-svn-id: file:///svn/phpbb/trunk@289 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2001-05-13 19:47:01 +00:00
parent b3e8c6a82e
commit 10450b3f9c

View file

@ -128,7 +128,7 @@ class sql_db
{ {
if($this->db_type == "msaccess") if($this->db_type == "msaccess")
{ {
$query = preg_replace("/LOWER\(/", "LCASE(", $query); $query = str_replace("LOWER(", "LCASE(", $query);
} }
if(!eregi("^INSERT ",$query)) if(!eregi("^INSERT ",$query))