diff options
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 |