mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-09-03 21:41:02 +02: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:
parent
864e656d81
commit
a69fb523a7
|
@ -372,6 +372,9 @@ func Issues(ctx *context.Context) {
|
||||||
}
|
}
|
||||||
|
|
||||||
issues(ctx, ctx.QueryInt64("milestone"), ctx.QueryInt64("project"), util.OptionalBoolOf(isPullList))
|
issues(ctx, ctx.QueryInt64("milestone"), ctx.QueryInt64("project"), util.OptionalBoolOf(isPullList))
|
||||||
|
if ctx.Written() {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
var err error
|
var err error
|
||||||
// Get milestones
|
// Get milestones
|
||||||
|
|
Loading…
Reference in a new issue