1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-05-11 05:55:29 +00:00

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