diff --git a/bindAPI/src/Controller/BindAPI.php b/bindAPI/src/Controller/BindAPI.php index 9e3f086..c070166 100755 --- a/bindAPI/src/Controller/BindAPI.php +++ b/bindAPI/src/Controller/BindAPI.php @@ -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);