From db6f54ec5f604d2629041263d6e638fa8e0ec0c7 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Wed, 9 Jan 2013 15:09:00 +0100 Subject: Reset $db_error_msg on query --- program/lib/Roundcube/rcube_db.php | 1 + 1 file changed, 1 insertion(+) (limited to 'program/lib/Roundcube/rcube_db.php') 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); -- cgit v1.2.3