mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-11 10:22:37 +01:00
Update mysqli.class.php
This commit is contained in:
@@ -142,7 +142,7 @@ class DoliDBMysqli extends DoliDB
|
||||
|
||||
if ($this->connected) {
|
||||
// If client is old latin, we force utf8
|
||||
$clientmustbe = empty($conf->db->dolibarr_main_db_character_set) ? 'utf8' : $conf->db->dolibarr_main_db_character_set;
|
||||
$clientmustbe = empty($conf->db->character_set) ? 'utf8' : $conf->db->character_set;
|
||||
if (preg_match('/latin1/', $clientmustbe)) {
|
||||
$clientmustbe = 'utf8';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user