aboutsummaryrefslogtreecommitdiffstats
path: root/include/dba.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-10-30 13:25:37 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-10-30 13:25:37 -0700
commitfab63ca751beac91d12e06c194101cacd1f909e5 (patch)
tree524fc265d0dbc29db44146b6b26032ca815d605a /include/dba.php
parent768acb0a3faf2c2f2a523420710673aaacb64f76 (diff)
downloadvolse-hubzilla-fab63ca751beac91d12e06c194101cacd1f909e5.tar.gz
volse-hubzilla-fab63ca751beac91d12e06c194101cacd1f909e5.tar.bz2
volse-hubzilla-fab63ca751beac91d12e06c194101cacd1f909e5.zip
-Wall cleanup
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';