diff --git a/src/Illuminate/Database/Connectors/MySqlConnector.php b/src/Illuminate/Database/Connectors/MySqlConnector.php index 8741fccb44d9..3b12b300ef75 100755 --- a/src/Illuminate/Database/Connectors/MySqlConnector.php +++ b/src/Illuminate/Database/Connectors/MySqlConnector.php @@ -65,7 +65,7 @@ protected function configureEncoding($connection, array $config) */ protected function getCollation(array $config) { - return ! is_null($config['collation']) ? " collate '{$config['collation']}'" : ''; + return isset($config['collation']) ? " collate '{$config['collation']}'" : ''; } /**