summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/class/dba.class.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/class/dba.class.php b/lib/class/dba.class.php
index 42a5c387..740a401d 100644
--- a/lib/class/dba.class.php
+++ b/lib/class/dba.class.php
@@ -83,6 +83,7 @@ class Dba {
}
else if ($stmt->errorCode() && $stmt->errorCode() != '00000') {
debug_event('Dba', 'Error: ' . json_encode($stmt->errorInfo()), 1);
+ return false;
}
return $stmt;