aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings
diff options
context:
space:
mode:
authorskjnldsv <skjnldsv@protonmail.com>2025-03-05 09:49:19 +0100
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2025-03-06 15:11:50 +0000
commit75ce4d3ae086c44b05e0af1cc59a6f794a9656e5 (patch)
treeb2b78c381409d9c9ffb7e1d5adea3f9a5ad5db42 /apps/settings
parent9304846bdfd2108efb3e3dbdddd608a8e56172cc (diff)
downloadnextcloud-server-75ce4d3ae086c44b05e0af1cc59a6f794a9656e5.tar.gz
nextcloud-server-75ce4d3ae086c44b05e0af1cc59a6f794a9656e5.zip
fix(systemtags): unify restrict_creation_to_admin handling
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/settings')
-rw-r--r--apps/settings/lib/Settings/Admin/Server.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings/lib/Settings/Admin/Server.php b/apps/settings/lib/Settings/Admin/Server.php
index 8071d812076..c0f29ce8f34 100644
--- a/apps/settings/lib/Settings/Admin/Server.php
+++ b/apps/settings/lib/Settings/Admin/Server.php
@@ -55,7 +55,7 @@ class Server implements IDelegatedSettings {
$this->initialStateService->provideInitialState('profileEnabledByDefault', $this->isProfileEnabledByDefault($this->config));
// Basic settings
- $this->initialStateService->provideInitialState('restrictSystemTagsCreationToAdmin', $this->appConfig->getValueString('systemtags', 'restrict_creation_to_admin', 'true'));
+ $this->initialStateService->provideInitialState('restrictSystemTagsCreationToAdmin', $this->appConfig->getValueBool('systemtags', 'restrict_creation_to_admin', false));
return new TemplateResponse('settings', 'settings/admin/server', [
'profileEnabledGlobally' => $this->profileManager->isProfileEnabled(),