mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-28 08:14:04 +02:00
DataTypeSqlQuery: temporarily hardcode UTF8
This commit is contained in:
parent
ff80463d76
commit
38c4c06c77
@ -66,6 +66,8 @@ class DataTypeSqlQuery extends DataTypeHook
|
||||
{
|
||||
if ($this->db === null) {
|
||||
$this->db = DbConnection::fromResourceName($this->settings['resource'])->getDbAdapter();
|
||||
// TODO: should be handled by resources:
|
||||
$this->db->exec("SET NAMES 'utf8'");
|
||||
}
|
||||
|
||||
return $this->db;
|
||||
|
Loading…
x
Reference in New Issue
Block a user