Fix db error display
This commit is contained in:
parent
64d70c4fc3
commit
ca12f85c92
1 changed files with 2 additions and 2 deletions
|
@ -40,8 +40,8 @@ class dba
|
|||
if ($this->debug) {
|
||||
$mesg = '';
|
||||
|
||||
if ($this->db->mysqli->errno) {
|
||||
$debug_text .= $this->db->mysqli->error . EOL;
|
||||
if ($this->db->errno) {
|
||||
$debug_text .= $this->db->error . EOL;
|
||||
}
|
||||
|
||||
if ($result === false) {
|
||||
|
|
Loading…
Reference in a new issue