Update database.php
This commit is contained in:
parent
0e68a3ff2f
commit
e7b49caad6
|
|
@ -1139,7 +1139,7 @@ include "root.php";
|
||||||
$this->debug["sql"] = true;
|
$this->debug["sql"] = true;
|
||||||
|
|
||||||
//start the atomic transaction
|
//start the atomic transaction
|
||||||
//$this->db->beginTransaction();
|
$this->db->beginTransaction();
|
||||||
|
|
||||||
//debug info
|
//debug info
|
||||||
//echo "<pre>\n";
|
//echo "<pre>\n";
|
||||||
|
|
@ -1493,7 +1493,6 @@ include "root.php";
|
||||||
$sql .= "AND ".$child_key_name." = '".$child_key_value."' ";
|
$sql .= "AND ".$child_key_name." = '".$child_key_value."' ";
|
||||||
$sql = str_replace(", WHERE", " WHERE", $sql);
|
$sql = str_replace(", WHERE", " WHERE", $sql);
|
||||||
$this->db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
|
$this->db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
|
||||||
// unset($row);
|
|
||||||
|
|
||||||
//$prep_statement->bindParam(':domain_uuid', $_SESSION["domain_uuid"] );
|
//$prep_statement->bindParam(':domain_uuid', $_SESSION["domain_uuid"] );
|
||||||
|
|
||||||
|
|
@ -1688,7 +1687,7 @@ include "root.php";
|
||||||
$this->message = $message;
|
$this->message = $message;
|
||||||
|
|
||||||
//commit the atomic transaction
|
//commit the atomic transaction
|
||||||
//$this->db->commit();
|
$this->db->commit();
|
||||||
|
|
||||||
//get the UUIDs
|
//get the UUIDs
|
||||||
$user_uuid = $_SESSION['user_uuid'];
|
$user_uuid = $_SESSION['user_uuid'];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue