mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
tmp: fix issue open count
This commit is contained in:
@@ -381,7 +381,8 @@ func MergePullRequest(ctx *middleware.Context) {
|
||||
}
|
||||
|
||||
pr.Pull = pull
|
||||
if err = pr.Merge(ctx.Repo.GitRepo); err != nil {
|
||||
pr.Pull.Repo = ctx.Repo.Repository
|
||||
if err = pr.Merge(ctx.User, ctx.Repo.GitRepo); err != nil {
|
||||
ctx.Handle(500, "GetPullRequestByPullID", err)
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user