Skip to content

Commit 14672ea

Browse files
authored
Update models/issue.go
1 parent 2a83db1 commit 14672ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/issue.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1908,7 +1908,7 @@ func (issue *Issue) ResolveMentionsByVisibility(ctx DBContext, doer *User, menti
19081908
resolved[issue.Repo.Owner.LowerName+"/"+team.LowerName] = true
19091909
}
19101910
}
1911-
if len(checked) > 0 {
1911+
if len(checked) != 0 {
19121912
teamusers := make([]*User, 0, 20)
19131913
if err := ctx.e.
19141914
Join("INNER", "team_user", "team_user.uid = `user`.id").

0 commit comments

Comments
 (0)