alecpl
2011-12-02 8b8512fd98d2a5768f0a7f3285fa1b988f0ca851
- Reset error flag when connecting to (another) database


1 files modified
2 ■■■■■ changed files
program/include/rcube_mdb2.php 2 ●●●●● patch | view | raw | blame | history
program/include/rcube_mdb2.php
@@ -91,6 +91,8 @@
            $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);