Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-24 10:46:10 +01:00

Fix only updated_unix when adding a comment (#3855)

This commit is contained in:
kolaente 2018-04-29 06:48:14 +02:00 committed by Lunny Xiao
parent c3f2b8803f
commit fd8d6405c8

View file

@ -418,7 +418,7 @@ func createComment(e *xorm.Session, opts *CreateCommentOptions) (_ *Comment, err
}
// update the issue's updated_unix column
if err = updateIssueCols(e, opts.Issue); err != nil {
if err = updateIssueCols(e, opts.Issue, "updated_unix"); err != nil {
return nil, err
}