1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Mirror fix on admin/orgs paging

This commit is contained in:
Unknwon
2014-10-10 03:28:21 -04:00
parent 79262173a6
commit d78abd3561
4 changed files with 6 additions and 6 deletions

View File

@@ -25,7 +25,7 @@ func Organizations(ctx *middleware.Context) {
var err error
ctx.Data["Orgs"], err = models.GetOrganizations(pageNum, (p-1)*pageNum)
if err != nil {
ctx.Handle(500, "GetUsers", err)
ctx.Handle(500, "GetOrganizations", err)
return
}
ctx.HTML(200, ORGS)