diff --git a/cake/libs/model/datasources/dbo/dbo_mysql.php b/cake/libs/model/datasources/dbo/dbo_mysql.php index 64d047504..89c42923e 100644 --- a/cake/libs/model/datasources/dbo/dbo_mysql.php +++ b/cake/libs/model/datasources/dbo/dbo_mysql.php @@ -461,7 +461,7 @@ class DboMysql extends DboMysqlBase { $this->connected = true; } - if (isset($config['encoding']) && !empty($config['encoding'])) { + if (!empty($config['encoding'])) { $this->setEncoding($config['encoding']); }