From 26d26148d93805c511d8015e782d8b077d8cc831 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Mon, 24 Dec 2001 14:45:47 +0000 Subject: Removed 'global' str_replace for \' git-svn-id: file:///svn/phpbb/trunk@1697 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/db/msaccess.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'phpBB/db/msaccess.php') diff --git a/phpBB/db/msaccess.php b/phpBB/db/msaccess.php index 33fb8e8863..6675581081 100644 --- a/phpBB/db/msaccess.php +++ b/phpBB/db/msaccess.php @@ -154,7 +154,7 @@ class sql_db } else if( eregi("^INSERT ", $query) ) { - $this->result = odbc_exec($this->db_connect_id, str_replace("\'", "''", $query)); + $this->result = odbc_exec($this->db_connect_id, $query); if( $this->result ) { @@ -171,7 +171,7 @@ class sql_db } else { - $this->result = odbc_exec($this->db_connect_id, str_replace("\'", "''", $query)); + $this->result = odbc_exec($this->db_connect_id, $query); if( $this->result ) { -- cgit v1.2.1