mirror of
https://github.com/JeroenED/libpairtwo.git
synced 2024-11-21 22:17:41 +01:00
BUGFIX: Tournament::calculateMutualResult
Returned NULL if result not
This commit is contained in:
parent
9ddff524d9
commit
a0df232bf4
@ -5,8 +5,9 @@
|
||||
* NEW FEATURE: `Tournament::getArbiters` for multiple arbiters in 1 tournament
|
||||
* ENHANCEMENT: `Class::getBinaryData` methods return null if field is non-existent
|
||||
* CHANGE: `Tournament::getArbiter` accepts a `int` parameter representing the order of the arbiters
|
||||
* BUGFIX: `Player:GetId` returns elo instead of id
|
||||
* BUGFIX: `Tournament::CalculateBuchholz` did not return the correct score when player had unplayed rounds
|
||||
* BUGFIX: `Player:getId` returns elo instead of id
|
||||
* BUGFIX: `Tournament::calculateBuchholz` did not return the correct score when player had unplayed rounds
|
||||
* BUGFIX: `Tournament::calculateMutualResult` Returned NULL if result was invalid
|
||||
|
||||
## v1.1.2 (Release: 21-jun-2019)
|
||||
* ENHANCEMENT: Added update section to dist/readme.md
|
||||
|
@ -621,7 +621,7 @@ class Tournament
|
||||
}
|
||||
}
|
||||
if ($totalmatches != count($interestingplayers)) {
|
||||
$points = null;
|
||||
$points = 0;
|
||||
}
|
||||
return $points;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user