aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/Command/Config/ListConfigs.php5
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 = [