summaryrefslogtreecommitdiffstats
path: root/routers/admin/orgs.go
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-10-10 03:28:21 -0400
committerUnknwon <joe2010xtmf@163.com>2014-10-10 03:28:21 -0400
commitd78abd356186e5bfe841f5c70d9b907f5c288920 (patch)
treeed58a69d30e03ea29e9e40ef85d080fdfcdb3cad /routers/admin/orgs.go
parent79262173a6e0a5734ebfc1565e45353677008302 (diff)
downloadgitea-d78abd356186e5bfe841f5c70d9b907f5c288920.tar.gz
gitea-d78abd356186e5bfe841f5c70d9b907f5c288920.zip
Mirror fix on admin/orgs paging
Diffstat (limited to 'routers/admin/orgs.go')
-rw-r--r--routers/admin/orgs.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/admin/orgs.go b/routers/admin/orgs.go
index e813e47420..54d7af5cb3 100644
--- a/routers/admin/orgs.go
+++ b/routers/admin/orgs.go
@@ -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)