Fixup of boardno in distributions template

This commit is contained in:
Jeroen De Meerleer 2019-09-28 21:35:52 +02:00
parent 05e241d7ba
commit 1793817f66
Signed by: JeroenED
GPG Key ID: 28CCCB8F62BFADD6

2
dist/template.php vendored
View File

@ -45,7 +45,7 @@ foreach ($reader->getTournament()->getRounds() as $round) {
echo '<tbody>' . PHP_EOL;
foreach ($round->getGamesByBoard() as $game) {
echo '<tr>' . PHP_EOL;
echo '<td>' . $game->getBoard() . '</td>' . PHP_EOL;
echo '<td>' . ($game->getBoard() + 1) . '</td>' . PHP_EOL;
echo '<td>' . $game->getWhite()->getPlayer()->getName() . '</td>' . PHP_EOL;
echo '<td>' . $game->getBlack()->getPlayer()->getName() . '</td>' . PHP_EOL;
echo '<td>' . $game->getResult()->getValue() . '</td>' . PHP_EOL;