1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-25 19:58:36 +00:00
This commit is contained in:
Lunny Xiao
2024-09-02 23:48:53 -07:00
parent 3abb72946c
commit 6e0bc0d3be

View File

@@ -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)
}