From 9be48f04cb7f963304999ab532d0dec1f7542942 Mon Sep 17 00:00:00 2001 From: kolaente Date: Mon, 30 Apr 2018 20:42:37 +0200 Subject: [PATCH] Fix only updated_unix when adding a comment (Backport of #3855 to 1.4 ) (#3860) --- models/issue_comment.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/issue_comment.go b/models/issue_comment.go index f97c108a7..ea83c356e 100644 --- a/models/issue_comment.go +++ b/models/issue_comment.go @@ -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 }