summaryrefslogtreecommitdiffstats
path: root/services/issue/commit.go
diff options
context:
space:
mode:
Diffstat (limited to 'services/issue/commit.go')
-rw-r--r--services/issue/commit.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/issue/commit.go b/services/issue/commit.go
index c3d2e853bb..7a8c71e609 100644
--- a/services/issue/commit.go
+++ b/services/issue/commit.go
@@ -193,7 +193,7 @@ func UpdateIssuesCommit(doer *user_model.User, repo *repo_model.Repository, comm
}
if close != refIssue.IsClosed {
refIssue.Repo = refRepo
- if err := ChangeStatus(refIssue, doer, close); err != nil {
+ if err := ChangeStatus(refIssue, doer, c.Sha1, close); err != nil {
return err
}
}