diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2019-02-23 00:14:45 +0800 |
---|---|---|
committer | techknowlogick <matti@mdranta.net> | 2019-02-22 11:14:45 -0500 |
commit | 134e55510eda8c3c6d61da18ee97e3243c6e3bc2 (patch) | |
tree | 6f0f2f6b99d4b5fb805c0425d3129101fadea8e6 /routers | |
parent | df30010dbdd2c9479aee292f5759b85143558498 (diff) | |
download | gitea-134e55510eda8c3c6d61da18ee97e3243c6e3bc2.tar.gz gitea-134e55510eda8c3c6d61da18ee97e3243c6e3bc2.zip |
fix bug when update owner team then visit team's repo return 404 (#6119)
Diffstat (limited to 'routers')
-rw-r--r-- | routers/org/teams.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/routers/org/teams.go b/routers/org/teams.go index 80309dff44..1c09737997 100644 --- a/routers/org/teams.go +++ b/routers/org/teams.go @@ -288,8 +288,6 @@ func EditTeamPost(ctx *context.Context, form auth.CreateTeamForm) { }) } models.UpdateTeamUnits(t, units) - } else { - models.UpdateTeamUnits(t, nil) } if ctx.HasError() { |