This commit is contained in:
Liang Ding 2022-10-30 01:02:14 +08:00
parent 710e703867
commit 0211e15fc9
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
3 changed files with 5 additions and 5 deletions

View file

@ -312,7 +312,7 @@ func setGoogleAnalytics(c *gin.Context) {
}
googleAnalytics := arg["googleAnalytics"].(bool)
model.Conf.System.GoogleAnalytics = googleAnalytics
model.Conf.System.DisableGoogleAnalytics = googleAnalytics
model.Conf.Save()
}