0
0
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:
wxiaoguang 2025-07-10 10:04:48 +08:00
parent f4e286bac1
commit b2035c0810

View File

@ -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() {