mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-29 03:38:52 +03:00
fix #2501
This commit is contained in:
parent
98f1fe7944
commit
773048afa1
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ func updateForkRepositoryInContext(ctx *context.Context, forkRepo *repo_model.Re
|
||||||
ctx.Data["ContextUser"] = orgs[0]
|
ctx.Data["ContextUser"] = orgs[0]
|
||||||
} else {
|
} else {
|
||||||
ctx.Data["CanForkRepo"] = false
|
ctx.Data["CanForkRepo"] = false
|
||||||
ctx.Flash.Error(ctx.Tr("repo.fork_no_valid_owners"), true)
|
ctx.RenderWithErr(ctx.Tr("repo.fork_no_valid_owners"), tplFork, nil)
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue