From 92fda1ce7c41b563c53e73bf584fdee78717d6c5 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Sun, 26 Aug 2001 14:04:27 +0000 Subject: Modified header comments git-svn-id: file:///svn/phpbb/trunk@933 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/db/mssql.php | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'phpBB/db/mssql.php') diff --git a/phpBB/db/mssql.php b/phpBB/db/mssql.php index eadfcf265a..393f5fdd24 100644 --- a/phpBB/db/mssql.php +++ b/phpBB/db/mssql.php @@ -10,15 +10,6 @@ * ***************************************************************************/ -/*************************************************************************** - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - ***************************************************************************/ - if(!defined("SQL_LAYER")) { @@ -204,6 +195,8 @@ class sql_db } else { + $query = preg_replace("/\\\'/s", "''", $query); + $this->query_result = @mssql_query($query, $this->db_connect_id); if($this->query_result) { -- cgit v1.2.1