summaryrefslogtreecommitdiffstats
path: root/routers/repo/pull.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/repo/pull.go')
-rw-r--r--routers/repo/pull.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/repo/pull.go b/routers/repo/pull.go
index ebc4439dda..60326db03a 100644
--- a/routers/repo/pull.go
+++ b/routers/repo/pull.go
@@ -715,6 +715,7 @@ func UpdatePullRequest(ctx *context.Context) {
}
ctx.Flash.Error(err.Error())
ctx.Redirect(ctx.Repo.RepoLink + "/pulls/" + com.ToStr(issue.Index))
+ return
}
time.Sleep(1 * time.Second)