diff options
author | kolaente <konrad@kola-entertainments.de> | 2018-04-29 06:48:14 +0200 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2018-04-29 12:48:14 +0800 |
commit | fd8d6405c8c7c12594f3d5866ac9eafb7edb8711 (patch) | |
tree | 69b5f734c2339da6af393ed8b0c2cb5eaa8a2ec6 /models/issue_comment.go | |
parent | c3f2b8803f592ac84621dd8bd34751981148e442 (diff) | |
download | gitea-fd8d6405c8c7c12594f3d5866ac9eafb7edb8711.tar.gz gitea-fd8d6405c8c7c12594f3d5866ac9eafb7edb8711.zip |
Fix only updated_unix when adding a comment (#3855)
Diffstat (limited to 'models/issue_comment.go')
-rw-r--r-- | models/issue_comment.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/issue_comment.go b/models/issue_comment.go index f97c108a7f..ea83c356ee 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 } |