- Fix rcube_mdb2.php: call to setCharset not implemented in mssql driver (#1486019)

This commit is contained in:
alecpl
2009-08-03 11:33:53 +00:00
parent cb1d1cb3c8
commit dec9e85eae
2 changed files with 2 additions and 1 deletions

View File

@@ -106,7 +106,7 @@ class rcube_mdb2
if (!filesize($dsn_array['database']) && !empty($this->sqlite_initials))
$this->_sqlite_create_database($dbh, $this->sqlite_initials);
}
else
else if ($this->db_provider!='mssql')
$dbh->setCharset('utf8');
return $dbh;