diff options
Diffstat (limited to 'models/repo_list.go')
-rw-r--r-- | models/repo_list.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/models/repo_list.go b/models/repo_list.go index 36f57abcc5..2c6be0a576 100644 --- a/models/repo_list.go +++ b/models/repo_list.go @@ -13,6 +13,7 @@ import ( repo_model "code.gitea.io/gitea/models/repo" "code.gitea.io/gitea/models/unit" user_model "code.gitea.io/gitea/models/user" + "code.gitea.io/gitea/modules/container" "code.gitea.io/gitea/modules/structs" "code.gitea.io/gitea/modules/util" @@ -62,7 +63,7 @@ func (repos RepositoryList) loadAttributes(e db.Engine) error { users := make(map[int64]*user_model.User, len(set)) if err := e. Where("id > 0"). - In("id", keysInt64(set)). + In("id", container.KeysInt64(set)). Find(&users); err != nil { return fmt.Errorf("find users: %v", err) } |