From fab63ca751beac91d12e06c194101cacd1f909e5 Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Sat, 30 Oct 2010 13:25:37 -0700 Subject: -Wall cleanup --- include/dba.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/dba.php') 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'; -- cgit v1.2.3