浏览代码

Optimize participant-fetching

Kim Carlbäcker 9 年之前
父节点
当前提交
f65dedc3be
共有 1 个文件被更改,包括 1 次插入0 次删除
  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 {