summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-08-03 11:33:53 +0000
committeralecpl <alec@alec.pl>2009-08-03 11:33:53 +0000
commitdec9e85eaebaeaca92fbcb8bc581e6756b1c608f (patch)
treec01b76fecb659acc572dc116a5e3d50714b95886 /program/include
parentcb1d1cb3c8f0902d21cf8300e78a1bb0e4f78ebd (diff)
- Fix rcube_mdb2.php: call to setCharset not implemented in mssql driver (#1486019)
Diffstat (limited to 'program/include')
-rw-r--r--program/include/rcube_mdb2.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_mdb2.php b/program/include/rcube_mdb2.php
index 610aaf50a..12f3c1652 100644
--- a/program/include/rcube_mdb2.php
+++ b/program/include/rcube_mdb2.php
@@ -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;