diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-08-26 14:04:27 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-08-26 14:04:27 +0000 |
commit | 92fda1ce7c41b563c53e73bf584fdee78717d6c5 (patch) | |
tree | 3ac3b97d46d1f4f9affd384fd366208332257109 /phpBB/db/oracle.php | |
parent | 54b29cc125b3e9fb17418702e649d2cd3930eaa2 (diff) | |
download | forums-92fda1ce7c41b563c53e73bf584fdee78717d6c5.tar forums-92fda1ce7c41b563c53e73bf584fdee78717d6c5.tar.gz forums-92fda1ce7c41b563c53e73bf584fdee78717d6c5.tar.bz2 forums-92fda1ce7c41b563c53e73bf584fdee78717d6c5.tar.xz forums-92fda1ce7c41b563c53e73bf584fdee78717d6c5.zip |
Modified header comments
git-svn-id: file:///svn/phpbb/trunk@933 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/db/oracle.php')
-rw-r--r-- | phpBB/db/oracle.php | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/phpBB/db/oracle.php b/phpBB/db/oracle.php index a7dc09eb33..8879567513 100644 --- a/phpBB/db/oracle.php +++ b/phpBB/db/oracle.php @@ -1,6 +1,6 @@ <?php /*************************************************************************** - * oracle.php + * oracle.php * ------------------- * begin : Thrusday Feb 15, 2001 * copyright : (C) 2001 The phpBB Group @@ -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")) { @@ -109,6 +100,11 @@ class sql_db } } + if(eregi("^(INSERT|UPDATE) ", $query)) + { + $query = preg_replace("/\\\'/s", "''", $query); + } + $this->query_result = @OCIParse($this->db_connect_id, $query); $success = @OCIExecute($this->query_result); } |