Merge branch 'bugfix/Buchholzmed-fix' into develop

This commit is contained in:
Jeroen De Meerleer 2019-06-01 14:50:09 +02:00
commit 79cf105c98
Signed by: JeroenED
GPG Key ID: 28CCCB8F62BFADD6

View File

@ -212,9 +212,10 @@ abstract class Tiebreaks extends Tournament
});
$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())) {
$tiebreak += $intpairing->getOpponent()->getPoints();
}