diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2024-04-17 16:27:21 -0100 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2024-04-17 16:28:02 -0100 |
commit | a624a2b34f87f7655b008f940ad5427739501fed (patch) | |
tree | 15de4b72d29fcfa9ffc3eaee46829c7b32b1622b /core | |
parent | b4004a258296bbe8563a5c76f8e611976c2a7ffd (diff) | |
download | nextcloud-server-a624a2b34f87f7655b008f940ad5427739501fed.tar.gz nextcloud-server-a624a2b34f87f7655b008f940ad5427739501fed.zip |
fix(appconfig): returns correct value on details
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'core')
-rw-r--r-- | core/Command/Config/App/SetConfig.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Command/Config/App/SetConfig.php b/core/Command/Config/App/SetConfig.php index ae6f24e71d4..3adba4af697 100644 --- a/core/Command/Config/App/SetConfig.php +++ b/core/Command/Config/App/SetConfig.php @@ -173,8 +173,8 @@ class SetConfig extends Base { */ $sensitive = $input->getOption('sensitive'); try { - $currSensitive = $this->appConfig->isLazy($appName, $configName); - if ($sensitive === null || $sensitive === $currSensitive || !$this->ask($input, $output, ($sensitive) ? 'LAZY' : 'NOT LAZY')) { + $currSensitive = $this->appConfig->isSensitive($appName, $configName, null); + if ($sensitive === null || $sensitive === $currSensitive || !$this->ask($input, $output, ($sensitive) ? 'SENSITIVE' : 'NOT SENSITIVE')) { $sensitive = $currSensitive; } } catch (AppConfigUnknownKeyException) { |