fixed wrong argument index
This commit is contained in:
parent
6f3686bbcb
commit
b3e0067ce1
@ -268,7 +268,7 @@ class BindAPI
|
||||
*/
|
||||
function handlePanelsCreate(): void
|
||||
{
|
||||
$name = $this->arguments[0] ?? '';
|
||||
$name = $this->arguments[1] ?? '';
|
||||
if (empty($name)) {
|
||||
echo 'You need to supply the panel name.' . PHP_EOL;
|
||||
exit(1);
|
||||
|
Loading…
Reference in New Issue
Block a user