Fix issue updated_unix bug (#2204)
This commit is contained in:
parent
5f37944dff
commit
a27863b6d1
5 changed files with 73 additions and 0 deletions
|
@ -580,6 +580,7 @@ func (issue *Issue) ReadBy(userID int64) error {
|
|||
}
|
||||
|
||||
func updateIssueCols(e Engine, issue *Issue, cols ...string) error {
|
||||
cols = append(cols, "updated_unix")
|
||||
if _, err := e.Id(issue.ID).Cols(cols...).Update(issue); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue