#2727 fix incompatible SQL in PostgreSQL

This commit is contained in:
Unknwon 2016-03-09 23:18:39 -05:00
parent ad513a20e9
commit eed9966ad6
5 changed files with 7 additions and 8 deletions

View file

@ -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 {