program/lib/Roundcube/rcube_db.php
@@ -256,7 +256,7 @@ // remember mode chosen (for primary table) $table = $matches[0][2]; $this->table_connections[$table]; $this->table_connections[$table] = $mode; } return $mode; @@ -456,7 +456,7 @@ { $error = $this->dbh->errorInfo(); if (empty($this->options['ignore_key_errors']) || $error[0] != '23000') { if (empty($this->options['ignore_key_errors']) || !in_array($error[0], array('23000', '23505'))) { $this->db_error = true; $this->db_error_msg = sprintf('[%s] %s', $error[1], $error[2]);