diff --git a/models/issues/pull.go b/models/issues/pull.go index 67e1ff1217..e3af00224d 100644 --- a/models/issues/pull.go +++ b/models/issues/pull.go @@ -353,7 +353,6 @@ func (pr *PullRequest) LoadIssue(ctx context.Context) (err error) { pr.Issue, err = GetIssueByID(ctx, pr.IssueID) if err == nil { pr.Issue.PullRequest = pr - pr.Issue.Repo = pr.BaseRepo } return err }