Browse Source

fix a small nit (#12420)

Signed-off-by: a1012112796 <1012112796@qq.com>
for-closed-social
赵智超 4 years ago
committed by GitHub
parent
commit
3585bb73ef
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      routers/repo/pull.go

+ 1
- 0
routers/repo/pull.go View File

@ -715,6 +715,7 @@ func UpdatePullRequest(ctx *context.Context) {
} }
ctx.Flash.Error(err.Error()) ctx.Flash.Error(err.Error())
ctx.Redirect(ctx.Repo.RepoLink + "/pulls/" + com.ToStr(issue.Index)) ctx.Redirect(ctx.Repo.RepoLink + "/pulls/" + com.ToStr(issue.Index))
return
} }
time.Sleep(1 * time.Second) time.Sleep(1 * time.Second)

Loading…
Cancel
Save