Simplify test for empty network selection
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
312de957f4
commit
1ce7c337f5
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ HELP;
|
||||||
}
|
}
|
||||||
|
|
||||||
$network = $this->getArgument(3);
|
$network = $this->getArgument(3);
|
||||||
if (empty($network) && $network !== '') {
|
if ($network === null) {
|
||||||
$this->out('Enter network, or leave blank: ');
|
$this->out('Enter network, or leave blank: ');
|
||||||
$network = CliPrompt::prompt();
|
$network = CliPrompt::prompt();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue