Преглед на файлове

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
}


Loading…
Отказ
Запис