This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
gitea
Watch
3
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Fix
#9662
(
#9767
)
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
for-closed-social
David Svantesson
4 years ago
committed by
Antoine GIRARD
parent
3ac79b7101
commit
f162a32604
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