aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-03-09 23:18:39 -0500
committerUnknwon <u@gogs.io>2016-03-09 23:18:39 -0500
commiteed9966ad6cb2e6b0828733ab50cc133f16fc332 (patch)
treee8ab645d1a9daf10512c4fec10f1ee2f548b5fda /modules
parentad513a20e939691828ba415c9a565e8ff3daa95f (diff)
downloadgitea-eed9966ad6cb2e6b0828733ab50cc133f16fc332.tar.gz
gitea-eed9966ad6cb2e6b0828733ab50cc133f16fc332.zip
#2727 fix incompatible SQL in PostgreSQL
Diffstat (limited to 'modules')
-rw-r--r--modules/middleware/org.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/middleware/org.go b/modules/middleware/org.go
index e62e0b0b01..eec2b556fd 100644
--- a/modules/middleware/org.go
+++ b/modules/middleware/org.go
@@ -90,7 +90,7 @@ func HandleOrgAssignment(ctx *Context, args ...bool) {
if ctx.Org.IsMember {
if ctx.Org.IsOwner {
if err := org.GetTeams(); err != nil {
- ctx.Handle(500, "GetUserTeams", err)
+ ctx.Handle(500, "GetTeams", err)
return
}
} else {