mirror of
https://github.com/kleeja-official/kleeja.git
synced 2025-12-16 04:59:42 +01:00
fixes
This commit is contained in:
@@ -420,7 +420,7 @@ class KleejaDatabase
|
|||||||
}
|
}
|
||||||
|
|
||||||
list($error_no, $error_msg) = $this->get_error();
|
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
|
//some ppl want hide their table names
|
||||||
if (! defined('DEV_STAGE')) {
|
if (! defined('DEV_STAGE')) {
|
||||||
|
|||||||
@@ -424,7 +424,7 @@ class KleejaDatabase
|
|||||||
}
|
}
|
||||||
|
|
||||||
list($error_no, $error_msg) = $this->get_error();
|
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
|
//some ppl want hide their table names
|
||||||
if (! defined('DEV_STAGE')) {
|
if (! defined('DEV_STAGE')) {
|
||||||
|
|||||||
Reference in New Issue
Block a user