Skip to content

Commit d7cf560

Browse files
committed
Fix bug
1 parent 513c506 commit d7cf560

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/context/repo.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ func RepoAssignment(ctx *Context) (cancel context.CancelFunc) {
464464

465465
unit, err := ctx.Repo.Repository.GetUnit(unit_model.TypeExternalTracker)
466466
if err == nil {
467-
ctx.Data["RepoExternalIssuesLink"] = unit_model.ExternalTrackerConfig().ExternalTrackerURL
467+
ctx.Data["RepoExternalIssuesLink"] = unit.ExternalTrackerConfig().ExternalTrackerURL
468468
}
469469

470470
ctx.Data["NumTags"], err = models.GetReleaseCountByRepoID(ctx.Repo.Repository.ID, models.FindReleasesOptions{

0 commit comments

Comments
 (0)