aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/db/mssql-odbc.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-12-24 14:45:47 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-12-24 14:45:47 +0000
commit26d26148d93805c511d8015e782d8b077d8cc831 (patch)
tree1833cfbd7dfd8c139d78b7438443678692c32086 /phpBB/db/mssql-odbc.php
parent2fccbeb7713961dcebfb224006948d4bae68904a (diff)
downloadforums-26d26148d93805c511d8015e782d8b077d8cc831.tar
forums-26d26148d93805c511d8015e782d8b077d8cc831.tar.gz
forums-26d26148d93805c511d8015e782d8b077d8cc831.tar.bz2
forums-26d26148d93805c511d8015e782d8b077d8cc831.tar.xz
forums-26d26148d93805c511d8015e782d8b077d8cc831.zip
Removed 'global' str_replace for \'
git-svn-id: file:///svn/phpbb/trunk@1697 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/db/mssql-odbc.php')
-rw-r--r--phpBB/db/mssql-odbc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/db/mssql-odbc.php b/phpBB/db/mssql-odbc.php
index 68774f8659..ab9f887f55 100644
--- a/phpBB/db/mssql-odbc.php
+++ b/phpBB/db/mssql-odbc.php
@@ -151,7 +151,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 )
{
@@ -168,7 +168,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 )
{