mirror of https://github.com/gogs/gogs.git
parent
afb445bb57
commit
a02b3e1258
|
@ -408,6 +408,7 @@ func (issue *Issue) ReadBy(uid int64) error {
|
|||
}
|
||||
|
||||
func updateIssueCols(e Engine, issue *Issue, cols ...string) error {
|
||||
cols = append(cols, "updated_unix")
|
||||
_, err := e.ID(issue.ID).Cols(cols...).Update(issue)
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue