Skip to content

Commit fd8d640

Browse files
kolaentelunny
authored andcommitted
Fix only updated_unix when adding a comment (#3855)
1 parent c3f2b88 commit fd8d640

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/issue_comment.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ func createComment(e *xorm.Session, opts *CreateCommentOptions) (_ *Comment, err
418418
}
419419

420420
// update the issue's updated_unix column
421-
if err = updateIssueCols(e, opts.Issue); err != nil {
421+
if err = updateIssueCols(e, opts.Issue, "updated_unix"); err != nil {
422422
return nil, err
423423
}
424424

0 commit comments

Comments
 (0)