diff options
Diffstat (limited to 'models')
-rw-r--r-- | models/action.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/models/action.go b/models/action.go index ef111e67a4..2fb0771071 100644 --- a/models/action.go +++ b/models/action.go @@ -153,7 +153,9 @@ func updateIssuesCommit(userId, repoId int64, repoUserName, repoName string, com if err = UpdateIssue(issue); err != nil { return err - } + } else if err = UpdateIssueUserPairsByStatus(issue.Id, issue.IsClosed); err != nil { + return err + } if err = ChangeMilestoneIssueStats(issue); err != nil { return err |