diff --git a/routers/repo/issue.go b/routers/repo/issue.go index 188319fb2..84af994d9 100644 --- a/routers/repo/issue.go +++ b/routers/repo/issue.go @@ -1065,6 +1065,7 @@ func NewComment(ctx *context.Context, form auth.CreateCommentForm) { ctx.Flash.Error(ctx.Tr("repo.issues.dependency.issue_close_blocked")) ctx.Redirect(fmt.Sprintf("%s/issues/%d", ctx.Repo.RepoLink, issue.Index), http.StatusSeeOther) } + return } } else { log.Trace("Issue [%d] status changed to closed: %v", issue.ID, issue.IsClosed)