SpamBee: Only show entries in stats which are not 0.
This commit is contained in:
parent
1293fce7ee
commit
dc18afe298
|
@ -131,7 +131,9 @@ Bayes:%Bayes%'
|
|||
}
|
||||
|
||||
$searchResult = isset($stats[$day][$singleSearch[1]]) ? $stats[$day][$singleSearch[1]] : 0;
|
||||
$statsString .= "{$singleSearch[0]}: {$searchResult}<br>";
|
||||
if ($searchResult) {
|
||||
$statsString .= "{$singleSearch[0]}: {$searchResult}<br>";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue