aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2024-01-15 15:44:49 -0100
committerMaxence Lange <maxence@artificial-owl.com>2024-01-15 15:45:13 -0100
commit94fe48c99857fb685abc69e3dd7aad1446398573 (patch)
tree88fe2516712a2d8f5fe5e613561c7e376c7dde0d /core
parent6daea857ab286aae98120bf7d1e1034aeaa44bca (diff)
downloadnextcloud-server-94fe48c99857fb685abc69e3dd7aad1446398573.tar.gz
nextcloud-server-94fe48c99857fb685abc69e3dd7aad1446398573.zip
small fixes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'core')
-rw-r--r--core/Command/Config/App/SetConfig.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Command/Config/App/SetConfig.php b/core/Command/Config/App/SetConfig.php
index 35f2ba600a6..aad31c85048 100644
--- a/core/Command/Config/App/SetConfig.php
+++ b/core/Command/Config/App/SetConfig.php
@@ -144,7 +144,7 @@ class SetConfig extends Base {
*/
try {
$currType = $this->appConfig->getValueType($appName, $configName);
- if ($typeString === null || $type === $currType || !$this->ask($input, $output, $typeString)) {
+ if ($type === null || $typeString === null || $type === $currType || !$this->ask($input, $output, $typeString)) {
$type = $currType;
} else {
$updated = $this->appConfig->updateType($appName, $configName, $type);