diff options
author | alecpl <alec@alec.pl> | 2011-12-02 13:41:37 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-12-02 13:41:37 +0000 |
commit | 8b8512fd98d2a5768f0a7f3285fa1b988f0ca851 (patch) | |
tree | e47082a395ae57de8116521ecaa1096a24ad9a9d /program/include/rcube_mdb2.php | |
parent | 69f00be516afa8f085d7cc384de9551abf5a7ffe (diff) |
- Reset error flag when connecting to (another) database
Diffstat (limited to 'program/include/rcube_mdb2.php')
-rw-r--r-- | program/include/rcube_mdb2.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/program/include/rcube_mdb2.php b/program/include/rcube_mdb2.php index b1a019653..f1669677c 100644 --- a/program/include/rcube_mdb2.php +++ b/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); |