mirror of
https://github.com/go-gitea/gitea
synced 2025-02-04 05:54:29 +00:00
Fix test
This commit is contained in:
parent
3abb72946c
commit
6e0bc0d3be
@ -2075,6 +2075,7 @@ func ViewIssue(ctx *context.Context) {
|
||||
return user_service.CanBlockUser(ctx, ctx.Doer, blocker, blockee)
|
||||
}
|
||||
|
||||
if ctx.IsSigned {
|
||||
forkedRepos, err := repo_model.FindUserOrgForks(ctx, ctx.Repo.Repository.ID, ctx.Doer.ID)
|
||||
if err != nil {
|
||||
ctx.ServerError("FindUserOrgForks", err)
|
||||
@ -2097,6 +2098,7 @@ func ViewIssue(ctx *context.Context) {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ctx.HTML(http.StatusOK, tplIssueView)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user