Skip to content

Commit 9be48f0

Browse files
kolaentelafriks
authored andcommitted
Fix only updated_unix when adding a comment (Backport of #3855 to 1.4 ) (#3860)
1 parent 24dd77e commit 9be48f0

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)