diff options
author | Ethan Koenig <etk39@cornell.edu> | 2017-07-26 18:20:38 -0700 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-07-27 09:20:38 +0800 |
commit | a27863b6d15026cf36b164707331fd59ffb68931 (patch) | |
tree | 82bd393e796d4330213599b492b40b0100288c8a /models/issue.go | |
parent | 5f37944dff7f8e48b3c5ce27bd1b77907b71f092 (diff) | |
download | gitea-a27863b6d15026cf36b164707331fd59ffb68931.tar.gz gitea-a27863b6d15026cf36b164707331fd59ffb68931.zip |
Fix issue updated_unix bug (#2204)
Diffstat (limited to 'models/issue.go')
-rw-r--r-- | models/issue.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/models/issue.go b/models/issue.go index a83cfd6504..d40b81eb32 100644 --- a/models/issue.go +++ b/models/issue.go @@ -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 } |