Quellcode durchsuchen

Fix template error on account page (#8562) (#8622)

tags/v1.10.0-rc2
John Olheiser vor 4 Jahren
Ursprung
Commit
2fbd5ae2e5
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1
    1
      routers/user/setting/account.go

+ 1
- 1
routers/user/setting/account.go Datei anzeigen

@@ -28,7 +28,6 @@ func Account(ctx *context.Context) {
ctx.Data["Title"] = ctx.Tr("settings")
ctx.Data["PageIsSettingsAccount"] = true
ctx.Data["Email"] = ctx.User.Email
ctx.Data["EmailNotificationsPreference"] = ctx.User.EmailNotifications()

loadAccountData(ctx)

@@ -230,4 +229,5 @@ func loadAccountData(ctx *context.Context) {
return
}
ctx.Data["Emails"] = emails
ctx.Data["EmailNotificationsPreference"] = ctx.User.EmailNotifications()
}

Laden…
Abbrechen
Speichern