浏览代码

Fix only updated_unix when adding a comment (#3855)

tags/v1.5.0-dev
kolaente 6 年前
父节点
当前提交
fd8d6405c8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      models/issue_comment.go

+ 1
- 1
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
}


正在加载...
取消
保存