diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2023-08-30 20:12:31 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2023-08-30 20:12:31 -0300 |
commit | 01ebd549e71c82f3df2a7663255001b7c5521aca (patch) | |
tree | fe11d016b535b4f886c8c685eb5847b7eca5764d /src/SemanticScuttle/db/mssql-odbc.php | |
parent | 2c11bf33b106fba2ea510a2aef53067633800ed3 (diff) | |
parent | 7e5536c3f641567143b31fb9f54468184083ebce (diff) | |
download | semanticscuttle-master.tar.gz semanticscuttle-master.tar.bz2 |
Diffstat (limited to 'src/SemanticScuttle/db/mssql-odbc.php')
-rw-r--r-- | src/SemanticScuttle/db/mssql-odbc.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/SemanticScuttle/db/mssql-odbc.php b/src/SemanticScuttle/db/mssql-odbc.php index a2d3d02..f8b7db3 100644 --- a/src/SemanticScuttle/db/mssql-odbc.php +++ b/src/SemanticScuttle/db/mssql-odbc.php @@ -184,7 +184,7 @@ class sql_db function _odbc_execute_query($query) { $result = false; - + if (eregi("^SELECT ", $query)) { $result = @odbc_exec($this->db_connect_id, $query); @@ -459,7 +459,7 @@ class sql_db { $this->sql_transaction('rollback'); } - + trigger_error($message, E_USER_ERROR); } @@ -573,4 +573,4 @@ class sql_db } // if ... define -?>
\ No newline at end of file +?> |