diff options
Diffstat (limited to 'core/Command/Config/System/GetConfig.php')
-rw-r--r-- | core/Command/Config/System/GetConfig.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Command/Config/System/GetConfig.php b/core/Command/Config/System/GetConfig.php index ec4ea7e2577..5d77518db21 100644 --- a/core/Command/Config/System/GetConfig.php +++ b/core/Command/Config/System/GetConfig.php @@ -84,7 +84,7 @@ class GetConfig extends Base { foreach ($configNames as $configName) { if (isset($configValue[$configName])) { $configValue = $configValue[$configName]; - } else if (!$input->hasParameterOption('--default-value')) { + } elseif (!$input->hasParameterOption('--default-value')) { return 1; } else { $configValue = $defaultValue; |