Permalink
Browse files

Removing redundant 'isset' check from DboMysql::connect

  • Loading branch information...
1 parent 02330b2 commit 33038c75ac76ec5c8fcc543a4013646b4bf484f2 @ADmad ADmad committed Dec 15, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/libs/model/datasources/dbo/dbo_mysql.php
@@ -461,7 +461,7 @@ function connect() {
$this->connected = true;
}
- if (isset($config['encoding']) && !empty($config['encoding'])) {
+ if (!empty($config['encoding'])) {
$this->setEncoding($config['encoding']);
}

0 comments on commit 33038c7

Please sign in to comment.