small fix
This commit is contained in:
committed by
Steffen Schröder
parent
c7e46ff304
commit
dcadd1c1f6
@ -390,6 +390,9 @@ class StatisticManager {
|
||||
if (!$statId) {
|
||||
return false;
|
||||
}
|
||||
if ($value < 1) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if ($serverIndex == -1) {
|
||||
$serverIndex = $this->maniaControl->server->index;
|
||||
|
Reference in New Issue
Block a user