Browse Source

fix bug

tags/v1.22.1.3
chenyifan01 3 years ago
parent
commit
fa58b384a3
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      routers/repo/pull.go

+ 1
- 0
routers/repo/pull.go View File

@@ -105,6 +105,7 @@ func getForkRepository(ctx *context.Context) *models.Repository {
return nil
}
ctx.Data["ForkFrom"] = forkRepo.Owner.Name + "/" + forkRepo.Name
ctx.Data["ForkDisplayName"] = forkRepo.FullDisplayName()
ctx.Data["ForkFromOwnerID"] = forkRepo.Owner.ID

if err := ctx.User.GetOwnedOrganizations(); err != nil {


Loading…
Cancel
Save