mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Removing redundant 'isset' check from DboMysql::connect
This commit is contained in:
parent
02330b2d9c
commit
33038c75ac
1 changed files with 1 additions and 1 deletions
|
@ -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']);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue