Skip to content

Commit 4852ebf

Browse files
KN4CK3Rlunny
authored andcommitted
Fix wrong redirect on org labels (go-gitea#18128)
1 parent 3db98be commit 4852ebf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/web/org/org_labels.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ func DeleteLabel(ctx *context.Context) {
9494
func InitializeLabels(ctx *context.Context) {
9595
form := web.GetForm(ctx).(*forms.InitializeLabelsForm)
9696
if ctx.HasError() {
97-
ctx.Redirect(ctx.Repo.RepoLink + "/labels")
97+
ctx.Redirect(ctx.Org.OrgLink + "/labels")
9898
return
9999
}
100100

0 commit comments

Comments
 (0)