This commit is contained in:
Hani Rouatbi
2023-09-02 12:09:15 +01:00
parent 795fcbfc1e
commit ea1b3ff0dc
2 changed files with 2 additions and 2 deletions

View File

@@ -420,7 +420,7 @@ class KleejaDatabase
}
list($error_no, $error_msg) = $this->get_error();
$error_sql = @current($this->debugr[$this->query_num+1]);
$error_sql = $this->connect_id ? @current($this->debugr[$this->query_num+1]) : '';
//some ppl want hide their table names
if (! defined('DEV_STAGE')) {

View File

@@ -424,7 +424,7 @@ class KleejaDatabase
}
list($error_no, $error_msg) = $this->get_error();
$error_sql = @current($this->debugr[$this->query_num+1]);
$error_sql = $this->connect_id ? @current($this->debugr[$this->query_num+1]) : '';
//some ppl want hide their table names
if (! defined('DEV_STAGE')) {