From 8a9b0e6421c6ebb60891e154463d24de8685c94d Mon Sep 17 00:00:00 2001 From: Mark Brown Date: Thu, 16 Oct 2025 21:08:36 -0400 Subject: [PATCH] chore: fixed comment to be more clear --- routers/install/install.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/install/install.go b/routers/install/install.go index e5823c9cdd..6b43acab18 100644 --- a/routers/install/install.go +++ b/routers/install/install.go @@ -427,7 +427,7 @@ func SubmitInstall(ctx *context.Context) { cfg.Section("server").Key("OFFLINE_MODE").SetValue(strconv.FormatBool(form.OfflineMode)) if err := system_model.SetSettings(ctx, map[string]string{ - // Form is submitted on install and should use the SelectFrom key and inverted this enter + // Form is submitted on install and should use the SelectFrom key for backwards compatability; getting the value will properly invert the boolean setting.Config().Picture.EnableGravatar.SelectFromKey(): strconv.FormatBool(!form.EnableGravatar), setting.Config().Picture.EnableFederatedAvatar.DynKey(): strconv.FormatBool(form.EnableFederatedAvatar), }); err != nil {