This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
Repositories
Datasets
Forum
实训
竞赛
大数据
应用
Register
Sign In
OpenI
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
Fix
#9662
(
#9767
)
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
tags/v1.12.0-dev
David Svantesson
Antoine GIRARD
5 years ago
parent
6baf764181
commit
3db46e3813
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
routers/repo/setting.go
+ 1
- 1
routers/repo/setting.go
View File
@@ -581,7 +581,7 @@ func AddTeamPost(ctx *context.Context) {
}
name := utils.RemoveUsernameParameterSuffix(strings.ToLower(ctx.Query("team")))
if len(name) == 0
|| ctx.Repo.Owner.LowerName == name
{
if len(name) == 0 {
ctx.Redirect(ctx.Repo.RepoLink + "/settings/collaboration")
return
}
Write
Preview
Loading…
Cancel
Save