mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 00:34:46 +02:00
Fixed problems process querys with db engine Oracle, when create wizard sla. Tiquet: #2688
This commit is contained in:
parent
bf287dd98b
commit
e3f85ea567
@ -290,7 +290,7 @@ function oracle_db_process_sql($sql, $rettype = "affected_rows", $dbconnection =
|
|||||||
|
|
||||||
if ($status !== 'SELECT') { //The query NOT IS a select
|
if ($status !== 'SELECT') { //The query NOT IS a select
|
||||||
if ($rettype == "insert_id") {
|
if ($rettype == "insert_id") {
|
||||||
$result = $id;
|
$result = $result;
|
||||||
}
|
}
|
||||||
elseif ($rettype == "info") {
|
elseif ($rettype == "info") {
|
||||||
//TODO: return debug information of the query $result = pg_result_status($result, PGSQL_STATUS_STRING);
|
//TODO: return debug information of the query $result = pg_result_status($result, PGSQL_STATUS_STRING);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user