mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-28 22:53:54 +03:00
This commit is contained in:
parent
bbe866122d
commit
2c82fc3edb
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ func Issues(ctx *context.Context) {
|
|||
var err error
|
||||
var repos []*models.Repository
|
||||
if ctxUser.IsOrganization() {
|
||||
repos, _, err = ctxUser.GetUserRepositories(ctx.User.ID, 1, ctx.User.NumRepos)
|
||||
repos, _, err = ctxUser.GetUserRepositories(ctx.User.ID, 1, ctxUser.NumRepos)
|
||||
if err != nil {
|
||||
ctx.Handle(500, "GetRepositories", err)
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue