summaryrefslogtreecommitdiffstats
path: root/models/issue_list.go
diff options
context:
space:
mode:
authorEthan Koenig <etk39@cornell.edu>2017-03-14 20:52:01 -0400
committerLunny Xiao <xiaolunwen@gmail.com>2017-03-15 08:52:01 +0800
commit021904e4e65804baa67b38e193e15aa37a391c60 (patch)
tree5c4f74764048eadd39a51c1b27e9c4937a0d236b /models/issue_list.go
parentec0ae5d50c59315a3c597b1cf24d4c5508c718e5 (diff)
downloadgitea-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.go6
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