X-Git-Url: https://git.sesse.net/?p=ccbs;a=blobdiff_plain;f=html%2Fshow-tournament.pl;h=3a407f80e99dafa1848bcc03c697f261179c7940;hp=230621bba7294f51edd67df4efc7689fce82a906;hb=49e5792858da785cf814fe529b6e9ddbfb326595;hpb=ce2049430f3c984487fce48dc40184caca97c626 diff --git a/html/show-tournament.pl b/html/show-tournament.pl index 230621b..3a407f8 100755 --- a/html/show-tournament.pl +++ b/html/show-tournament.pl @@ -71,6 +71,9 @@ for my $score (@$scores) { } } +# FIXME: In some odd cases, there _might_ be an empty group right at the end. Fix this when +# we are able to add/delete people in groups. + my $num_rounds = scalar @rounds; my $num_rankings = scalar @$rankings;