Skip to content

Commit

Permalink
Removing redundant 'isset' check from DboMysql::connect
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Dec 15, 2009
1 parent 02330b2 commit 33038c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/libs/model/datasources/dbo/dbo_mysql.php
Expand Up @@ -461,7 +461,7 @@ function connect() {
$this->connected = true;
}

if (isset($config['encoding']) && !empty($config['encoding'])) {
if (!empty($config['encoding'])) {
$this->setEncoding($config['encoding']);
}

Expand Down

0 comments on commit 33038c7

Please sign in to comment.