fix tests
This commit is contained in:
parent
f5c9a34fdd
commit
5007ddcb1e
|
@ -179,8 +179,10 @@ func (tList *DefaultTopicList) Tick() error {
|
||||||
addScore(f)
|
addScore(f)
|
||||||
}
|
}
|
||||||
for _, f := range top5 {
|
for _, f := range top5 {
|
||||||
|
if f != nil {
|
||||||
fshort = append(fshort, f)
|
fshort = append(fshort, f)
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
fList := make(map[int]*ForumTopicListHolder)
|
fList := make(map[int]*ForumTopicListHolder)
|
||||||
for _, f := range fshort {
|
for _, f := range fshort {
|
||||||
|
|
Loading…
Reference in New Issue