Skip to content

Commit df28cf7

Browse files
committed
fix
1 parent f1b1264 commit df28cf7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

routers/web/repo/pull.go

+1
Original file line numberDiff line numberDiff line change
@@ -1276,6 +1276,7 @@ func PullsNewRedirect(ctx *context.Context) {
12761276
if repo.IsFork {
12771277
if err := repo.GetBaseRepo(ctx); err != nil {
12781278
ctx.ServerError("GetBaseRepo", err)
1279+
return
12791280
}
12801281
if repo.BaseRepo != nil {
12811282
redirectRepo = repo.BaseRepo

0 commit comments

Comments
 (0)