1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-15 23:17:19 +00:00

Fix issue updated_unix bug (#2204)

This commit is contained in:
Ethan Koenig
2017-07-26 18:20:38 -07:00
committed by Lunny Xiao
parent 5f37944dff
commit a27863b6d1
5 changed files with 73 additions and 0 deletions

View File

@@ -399,7 +399,11 @@ func createComment(e *xorm.Session, opts *CreateCommentOptions) (_ *Comment, err
if err != nil {
return nil, err
}
}
// update the issue's updated_unix column
if err = updateIssueCols(e, opts.Issue); err != nil {
return nil, err
}
// Notify watchers for whatever action comes in, ignore if no action type.