]> source.dussan.org Git - gitea.git/commitdiff
Fixes #562
authorTony Tsang <tony@tcnhk.com>
Tue, 14 Oct 2014 08:46:25 +0000 (16:46 +0800)
committerTony Tsang <tony@tcnhk.com>
Tue, 14 Oct 2014 08:46:25 +0000 (16:46 +0800)
models/action.go

index ef111e67a4efef7f23c03ae820cdc0a3298c47c7..2fb0771071ad3a41fff440dbcb7b23774802a380 100644 (file)
@@ -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