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:
parent
f4e286bac1
commit
b2035c0810
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user