diff options
Diffstat (limited to 'models/issue.go')
-rw-r--r-- | models/issue.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/models/issue.go b/models/issue.go index afd110e06d..a3c81b6702 100644 --- a/models/issue.go +++ b/models/issue.go @@ -676,6 +676,10 @@ func (issue *Issue) changeStatus(e *xorm.Session, doer *User, isClosed bool) (*C return nil, err } + if err := issue.updateClosedNum(e); err != nil { + return nil, err + } + // New action comment cmtType := CommentTypeClose if !issue.IsClosed { |