Fix only updated_unix when adding a comment (#3855)

tokarchuk/v1.17
kolaente 7 years ago committed by Lunny Xiao
parent c3f2b8803f
commit fd8d6405c8
  1. 2
      models/issue_comment.go

@ -418,7 +418,7 @@ func createComment(e *xorm.Session, opts *CreateCommentOptions) (_ *Comment, err
} }
// update the issue's updated_unix column // 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 return nil, err
} }

Loading…
Cancel
Save