aboutsummaryrefslogtreecommitdiffstats
path: root/include/dba.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/dba.php')
-rw-r--r--include/dba.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/dba.php b/include/dba.php
index 133b596ef..9d0896a35 100644
--- a/include/dba.php
+++ b/include/dba.php
@@ -36,8 +36,8 @@ class dba {
$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)
$mesg = 'false';