summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-01-09 15:09:00 +0100
committerAleksander Machniak <alec@alec.pl>2013-01-09 19:23:53 +0100
commitc0a714348478f42b0a803afa4586e7389827f72d (patch)
tree47d7c4464ed1fe68b636eecf4d65741bdc7d9638
parent7e7431bddadae7802748979864ffafa73f694ede (diff)
Reset $db_error_msg on query
-rw-r--r--program/lib/Roundcube/rcube_db.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/program/lib/Roundcube/rcube_db.php b/program/lib/Roundcube/rcube_db.php
index 3e4617948..086a38ab4 100644
--- a/program/lib/Roundcube/rcube_db.php
+++ b/program/lib/Roundcube/rcube_db.php
@@ -402,6 +402,7 @@ class rcube_db
// destroy reference to previous result, required for SQLite driver (#1488874)
$this->last_result = null;
+ $this->db_error_msg = null;
// send query
$query = $this->dbh->query($query);