summaryrefslogtreecommitdiff
path: root/program/include/rcube_mdb2.php
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2011-04-19 20:41:24 +0000
committerthomascube <thomas@roundcube.net>2011-04-19 20:41:24 +0000
commitbbb1427caabba60e4329d4b3653fbf29d5ddddcc (patch)
tree0bc16083f5731593ed6a35a374a34a2e9b6a745d /program/include/rcube_mdb2.php
parent968754b09ebc1b501d0840e8c4eb3d0f617a5080 (diff)
Gracefully shrug on database errors
Diffstat (limited to 'program/include/rcube_mdb2.php')
-rw-r--r--program/include/rcube_mdb2.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/program/include/rcube_mdb2.php b/program/include/rcube_mdb2.php
index 36a595098..7675e847f 100644
--- a/program/include/rcube_mdb2.php
+++ b/program/include/rcube_mdb2.php
@@ -266,7 +266,9 @@ class rcube_mdb2
raise_error(array('code' => 500, 'type' => 'db',
'line' => __LINE__, 'file' => __FILE__,
- 'message' => $this->db_error_msg), true, true);
+ 'message' => $this->db_error_msg), true, false);
+
+ $result = false;
}
else {
$result = $q->execute($params);