From fa58b384a3a01df895b6f89f0f9de13514622375 Mon Sep 17 00:00:00 2001 From: chenyifan01 Date: Fri, 14 Jan 2022 09:23:21 +0800 Subject: [PATCH] fix bug --- routers/repo/pull.go | 1 + 1 file changed, 1 insertion(+) diff --git a/routers/repo/pull.go b/routers/repo/pull.go index c653d9d67..22ea3a54c 100755 --- a/routers/repo/pull.go +++ b/routers/repo/pull.go @@ -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 {