diff options
author | Ethan Koenig <etk39@cornell.edu> | 2017-03-14 20:52:01 -0400 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-03-15 08:52:01 +0800 |
commit | 021904e4e65804baa67b38e193e15aa37a391c60 (patch) | |
tree | 5c4f74764048eadd39a51c1b27e9c4937a0d236b /models/issue_list.go | |
parent | ec0ae5d50c59315a3c597b1cf24d4c5508c718e5 (diff) | |
download | gitea-021904e4e65804baa67b38e193e15aa37a391c60.tar.gz gitea-021904e4e65804baa67b38e193e15aa37a391c60.zip |
Fix typos in models/ and modules/ (#1248)
Diffstat (limited to 'models/issue_list.go')
-rw-r--r-- | models/issue_list.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/models/issue_list.go b/models/issue_list.go index 692243eff7..ede7e8433c 100644 --- a/models/issue_list.go +++ b/models/issue_list.go @@ -59,10 +59,10 @@ func (issues IssueList) loadPosters(e Engine) error { return nil } - postgerIDs := issues.getPosterIDs() - posterMaps := make(map[int64]*User, len(postgerIDs)) + posterIDs := issues.getPosterIDs() + posterMaps := make(map[int64]*User, len(posterIDs)) err := e. - In("id", postgerIDs). + In("id", posterIDs). Find(&posterMaps) if err != nil { return err |