We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1b8c5e commit 73836ceCopy full SHA for 73836ce
models/issue_list.go
@@ -69,6 +69,9 @@ func (issues IssueList) loadPosters(e Engine) error {
69
}
70
71
for _, issue := range issues {
72
+ if issue.PosterID <= 0 {
73
+ continue
74
+ }
75
var ok bool
76
if issue.Poster, ok = posterMaps[issue.PosterID]; !ok {
77
issue.Poster = NewGhostUser()
@@ -176,6 +179,9 @@ func (issues IssueList) loadAssignees(e Engine) error {
176
179
177
180
178
181
182
+ if issue.AssigneeID <= 0 {
183
184
185
186
if issue.Assignee, ok = assigneeMaps[issue.AssigneeID]; !ok {
187
issue.Assignee = NewGhostUser()
0 commit comments