diff --git a/src/MySQLWizard.php b/src/MySQLWizard.php index b3aaa07..0f1a086 100644 --- a/src/MySQLWizard.php +++ b/src/MySQLWizard.php @@ -23,7 +23,7 @@ public function __construct($database_sets=array()) 'echo_msg'=>false ); - if (empty($database_sets)) { + if (!empty($database_sets)) { $database_sets = (array)$database_sets; foreach ($database_sets_defalt as $key=>$value) { if (!isset($database_sets[$key])) {