Browse Source

Optimize participant-fetching

Kim Carlbäcker 9 years ago
parent
commit
f65dedc3be
1 changed files with 1 additions and 0 deletions
  1. 1 0
      routers/repo/issue.go

+ 1 - 0
routers/repo/issue.go

@@ -623,6 +623,7 @@ func ViewIssue(ctx *middleware.Context) {
 			for j := range participants {
 				if comment.Poster == participants[j] {
 					already_added = true
+					break
 				}
 			}
 			if !already_added {