Fix only updated_unix when adding a comment (Backport of #3855 to 1.4 ) (#3860)

This commit is contained in:
kolaente 2018-04-30 20:42:37 +02:00 committed by Lauris BH
parent 24dd77eca6
commit 9be48f04cb

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
}