Skip to content

Commit

Permalink
backport of #7385 - add missing template variable on organisation set…
Browse files Browse the repository at this point in the history
…tings (#7386)

affects #6755

Signed-off-by: Michael Gnehr <michael@gnehr.de>
  • Loading branch information
Cherrg authored and lafriks committed Jul 8, 2019
1 parent f849766 commit 1e585d7
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 1e585d7

Please sign in to comment.