diff --git a/core/Command/Config/ListConfigs.php b/core/Command/Config/ListConfigs.php index e73c3a4831..6fc3fe5fc0 100644 --- a/core/Command/Config/ListConfigs.php +++ b/core/Command/Config/ListConfigs.php @@ -75,6 +75,11 @@ class ListConfigs extends Base { $app = $input->getArgument('app'); $noSensitiveValues = !$input->getOption('private'); + if (!is_string($app)) { + $output->writeln('Invalid app value given'); + return 1; + } + switch ($app) { case 'system': $configs = [