mirror of
https://github.com/friendica/friendica
synced 2024-06-21 15:24:42 +02:00
Simplify test for empty network selection
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
312de957f4
commit
1ce7c337f5
|
@ -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