fixed wrong argument index

This commit is contained in:
tracer 2022-01-23 18:59:16 +01:00
parent 6f3686bbcb
commit b3e0067ce1

View File

@ -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);