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
bug fixed for fork repos (
#560
)
tags/v1.2.0-rc1
Lunny Xiao
GitHub
8 years ago
parent
2f8ed8c92e
commit
fe77dc3b7e
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/pull.go
+ 1
- 1
routers/repo/pull.go
View File
@@ -48,7 +48,7 @@ func getForkRepository(ctx *context.Context) *models.Repository {
return nil
}
if !forkRepo.CanBeForked() {
if !forkRepo.CanBeForked()
|| !forkRepo.HasAccess(ctx.User)
{
ctx.Handle(404, "getForkRepository", nil)
return nil
}
Write
Preview
Loading…
Cancel
Save