mirror of
https://github.com/go-gitea/gitea.git
synced 2025-07-21 14:34:43 +02:00
add missing ctx.Written check
This commit is contained in:
parent
f4e286bac1
commit
b2035c0810
@ -768,6 +768,9 @@ func Issues(ctx *context.Context) {
|
|||||||
ctx.Data["Title"] = ctx.Tr("repo.pulls")
|
ctx.Data["Title"] = ctx.Tr("repo.pulls")
|
||||||
ctx.Data["PageIsPullList"] = true
|
ctx.Data["PageIsPullList"] = true
|
||||||
prepareRecentlyPushedNewBranches(ctx)
|
prepareRecentlyPushedNewBranches(ctx)
|
||||||
|
if ctx.Written() {
|
||||||
|
return
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
MustEnableIssues(ctx)
|
MustEnableIssues(ctx)
|
||||||
if ctx.Written() {
|
if ctx.Written() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user