0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-07-21 16:45:03 +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["PageIsPullList"] = true
prepareRecentlyPushedNewBranches(ctx)
if ctx.Written() {
return
}
} else {
MustEnableIssues(ctx)
if ctx.Written() {