Fixed buchholz tiebreak (once again)

This commit is contained in:
Jeroen De Meerleer 2019-06-05 13:15:00 +02:00
parent 8dd06c02f7
commit 2ae173a6c9
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG Key ID: 28CCCB8F62BFADD6

View File

@ -220,7 +220,7 @@ abstract class Tiebreaks extends Tournament
}); });
$intpairings = array_slice($intpairings, $cutlowest); $intpairings = array_slice($intpairings, $cutlowest);
$intpairings = array_slice($intpairings, 0, 0 - $cuthighest); $intpairings = array_slice($intpairings, 0 - $cuthighest);
foreach ($intpairings as $intkey => $intpairing) { foreach ($intpairings as $intkey => $intpairing) {
if (!is_null($intpairing->getOpponent())) { if (!is_null($intpairing->getOpponent())) {