diff --git a/setup/tools/sqlGen.class.php b/setup/tools/sqlGen.class.php index d962bc33..af775673 100644 --- a/setup/tools/sqlGen.class.php +++ b/setup/tools/sqlGen.class.php @@ -160,7 +160,7 @@ class SqlGen $doTbls = array_unique($doTbls); return true; } - else if ($_ = CLISetup::getOpt('sql')) + else if (is_array($_ = CLISetup::getOpt('sql'))) { $doTbls = $_; return true;