aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/db/msaccess.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/db/msaccess.php')
-rw-r--r--phpBB/db/msaccess.php4
1 files changed, 2 insertions, 2 deletions
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 )
{