Fix the upload alien issue.

This commit is contained in:
zicla
2019-04-02 02:49:31 +08:00
parent 2fb512a176
commit a8cc42b915
7 changed files with 37 additions and 48 deletions

View File

@ -68,9 +68,9 @@ func (this *PreferenceController) Edit(writer http.ResponseWriter, request *http
preference.FaviconUrl = faviconUrl
preference.FooterLine1 = footerLine1
preference.FooterLine2 = footerLine2
if showAlienStr == "true" {
if showAlienStr == TRUE {
preference.ShowAlien = true
} else if showAlienStr == "false" {
} else if showAlienStr == FALSE {
preference.ShowAlien = false
}