diff options
Diffstat (limited to 'routers/repo')
-rw-r--r-- | routers/repo/issue.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/repo/issue.go b/routers/repo/issue.go index 639117b8c3..cf6687fe9c 100644 --- a/routers/repo/issue.go +++ b/routers/repo/issue.go @@ -494,6 +494,7 @@ func ViewIssue(ctx *middleware.Context) { ctx.Data["PageIsPullList"] = true ctx.Data["PageIsPullConversation"] = true + ctx.Data["HasForkedRepo"] = ctx.IsSigned && ctx.User.HasForkedRepo(ctx.Repo.Repository.ID) } else { ctx.Data["PageIsIssueList"] = true } |