Skip to content

Commit 386ef95

Browse files
committed
small fix
1 parent 9a40ab1 commit 386ef95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Console/Command/EnableCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ protected function execute(InputInterface $input, OutputInterface $output) // @c
375375
}
376376

377377
// Upload VCL
378-
$activate = (bool)$input->getArgument('activate');
378+
$activate = filter_var($input->getArgument('activate'), FILTER_VALIDATE_BOOLEAN);
379379
if ($input->getOption('upload-vcl')) {
380380
$this->uploadVcl($activate);
381381
}

0 commit comments

Comments
 (0)