Skip to content

Commit

Permalink
Fix wrong redirect on org labels (go-gitea#18128)
Browse files Browse the repository at this point in the history
  • Loading branch information
KN4CK3R authored Dec 30, 2021
1 parent 626b107 commit 67d7ad6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routers/web/org/org_labels.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func DeleteLabel(ctx *context.Context) {
func InitializeLabels(ctx *context.Context) {
form := web.GetForm(ctx).(*forms.InitializeLabelsForm)
if ctx.HasError() {
ctx.Redirect(ctx.Repo.RepoLink + "/labels")
ctx.Redirect(ctx.Org.OrgLink + "/labels")
return
}

Expand Down

0 comments on commit 67d7ad6

Please sign in to comment.