summaryrefslogtreecommitdiff
path: root/program/lib/Roundcube/rcube_db.php
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 15:09:00 +0100
commitdb6f54ec5f604d2629041263d6e638fa8e0ec0c7 (patch)
tree9aae20036029d066ae9872794179414cd90fde7c /program/lib/Roundcube/rcube_db.php
parent64e218bd13b948712d79b60f6eae90cf393ec81f (diff)
Reset $db_error_msg on query
Diffstat (limited to 'program/lib/Roundcube/rcube_db.php')
-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);