summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--routers/repo/issue.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/routers/repo/issue.go b/routers/repo/issue.go
index 12726cd22c..fd2877e706 100644
--- a/routers/repo/issue.go
+++ b/routers/repo/issue.go
@@ -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