From db6f54ec5f604d2629041263d6e638fa8e0ec0c7 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Wed, 09 Jan 2013 09:09:00 -0500 Subject: [PATCH] Reset $db_error_msg on query --- program/lib/Roundcube/rcube_db.php | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/program/lib/Roundcube/rcube_db.php b/program/lib/Roundcube/rcube_db.php index 3e46179..086a38a 100644 --- a/program/lib/Roundcube/rcube_db.php +++ b/program/lib/Roundcube/rcube_db.php @@ -402,6 +402,7 @@ // 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); -- Gitblit v1.9.1