Fix php aowow --sql not doing anything (#307)

This commit is contained in:
Giacomo Pozzoni
2021-10-24 20:40:50 +02:00
committed by GitHub
parent 7c293c405f
commit cb2274bbab

View File

@@ -160,7 +160,7 @@ class SqlGen
$doTbls = array_unique($doTbls); $doTbls = array_unique($doTbls);
return true; return true;
} }
else if ($_ = CLISetup::getOpt('sql')) else if (is_array($_ = CLISetup::getOpt('sql')))
{ {
$doTbls = $_; $doTbls = $_;
return true; return true;