fix tests

This commit is contained in:
Azareal 2020-03-08 18:10:56 +10:00
parent f5c9a34fdd
commit 5007ddcb1e

View File

@ -179,7 +179,9 @@ func (tList *DefaultTopicList) Tick() error {
addScore(f)
}
for _, f := range top5 {
fshort = append(fshort, f)
if f != nil {
fshort = append(fshort, f)
}
}
fList := make(map[int]*ForumTopicListHolder)