diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-12-02 13:41:37 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-12-02 13:41:37 +0000 |
| commit | df4f19ef692e9716a293dc874dbd7b5a9d345e3d (patch) | |
| tree | 3cb31fdc1018d2248a8649c0bdc947ea3d19895d /roundcubemail/program/include/rcube_mdb2.php | |
| parent | 6525260278931e678f46be5a5a76ab67372a7b34 (diff) | |
- Reset error flag when connecting to (another) database
git-svn-id: https://svn.roundcube.net/trunk@5529 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcube_mdb2.php')
| -rw-r--r-- | roundcubemail/program/include/rcube_mdb2.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/roundcubemail/program/include/rcube_mdb2.php b/roundcubemail/program/include/rcube_mdb2.php index b1a019653..f1669677c 100644 --- a/roundcubemail/program/include/rcube_mdb2.php +++ b/roundcubemail/program/include/rcube_mdb2.php @@ -91,6 +91,8 @@ class rcube_mdb2 $db_options['disable_smart_seqname'] = true; $db_options['seqname_format'] = '%s'; } + $this->db_error = false; + $this->db_error_msg = null; $dbh = MDB2::connect($dsn, $db_options); |
