mirror of
https://github.com/JeroenED/libpairtwo.git
synced 2024-11-25 15:57:41 +01:00
Merge branch 'bugfix/Buchholzmed-fix' into develop
This commit is contained in:
commit
79cf105c98
@ -212,9 +212,10 @@ abstract class Tiebreaks extends Tournament
|
|||||||
});
|
});
|
||||||
|
|
||||||
$intpairings = array_slice($intpairings, $cutlowest);
|
$intpairings = array_slice($intpairings, $cutlowest);
|
||||||
$intpairings = array_slice($intpairings, 0 - $cuthighest);
|
$intpairings = array_slice($intpairings, 0, 0 - $cuthighest);
|
||||||
|
|
||||||
foreach ($intpairings as $intkey => $intpairing) {
|
foreach ($intpairings as $intkey => $intpairing) {
|
||||||
|
echo $tiebreak . PHP_EOL;
|
||||||
if (!is_null($intpairing->getOpponent())) {
|
if (!is_null($intpairing->getOpponent())) {
|
||||||
$tiebreak += $intpairing->getOpponent()->getPoints();
|
$tiebreak += $intpairing->getOpponent()->getPoints();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user