File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -427,7 +427,7 @@ func SubmitInstall(ctx *context.Context) {
427427
428428 cfg .Section ("server" ).Key ("OFFLINE_MODE" ).SetValue (strconv .FormatBool (form .OfflineMode ))
429429 if err := system_model .SetSettings (ctx , map [string ]string {
430- // Form is submitted on install and should use the SelectFrom key and inverted this enter
430+ // Form is submitted on install and should use the SelectFrom key for backwards compatability; getting the value will properly invert the boolean
431431 setting .Config ().Picture .EnableGravatar .SelectFromKey (): strconv .FormatBool (! form .EnableGravatar ),
432432 setting .Config ().Picture .EnableFederatedAvatar .DynKey (): strconv .FormatBool (form .EnableFederatedAvatar ),
433433 }); err != nil {
You can’t perform that action at this time.
0 commit comments