0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-25 01:42:47 +01:00

Ensure that ctx.Written is checked after issues(...) calls (#15797)

Fix issue noted in #15783

Signed-off-by: Andrew Thornton <art27@cantab.net>
This commit is contained in:
zeripath 2021-05-09 03:33:49 +01:00 committed by GitHub
parent 864e656d81
commit a69fb523a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -372,6 +372,9 @@ func Issues(ctx *context.Context) {
}
issues(ctx, ctx.QueryInt64("milestone"), ctx.QueryInt64("project"), util.OptionalBoolOf(isPullList))
if ctx.Written() {
return
}
var err error
// Get milestones