diff options
-rw-r--r-- | core/Command/Config/ListConfigs.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/Command/Config/ListConfigs.php b/core/Command/Config/ListConfigs.php index e73c3a4831c..6fc3fe5fc0c 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('<error>Invalid app value given</error>'); + return 1; + } + switch ($app) { case 'system': $configs = [ |