Skip to content

Commit

Permalink
add missing template variable on organisation settings (go-gitea#7385)
Browse files Browse the repository at this point in the history
fix go-gitea#6755

Signed-off-by: Michael Gnehr <michael@gnehr.de>
  • Loading branch information
Cherrg authored and jeffliu27 committed Jul 18, 2019
1 parent 82ff89c commit d81b65b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions routers/org/setting.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ func Settings(ctx *context.Context) {
func SettingsPost(ctx *context.Context, form auth.UpdateOrgSettingForm) {
ctx.Data["Title"] = ctx.Tr("org.settings")
ctx.Data["PageIsSettingsOptions"] = true
ctx.Data["CurrentVisibility"] = structs.VisibleType(ctx.Org.Organization.Visibility)

if ctx.HasError() {
ctx.HTML(200, tplSettingsOptions)
Expand Down

0 comments on commit d81b65b

Please sign in to comment.