From 1793817f660557987e9eeac7ee76f07b9e9a753e Mon Sep 17 00:00:00 2001 From: Jeroen De Meerleer Date: Sat, 28 Sep 2019 21:35:52 +0200 Subject: [PATCH] Fixup of boardno in distributions template --- dist/template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/template.php b/dist/template.php index 5397094..330af7e 100644 --- a/dist/template.php +++ b/dist/template.php @@ -45,7 +45,7 @@ foreach ($reader->getTournament()->getRounds() as $round) { echo '' . PHP_EOL; foreach ($round->getGamesByBoard() as $game) { echo '' . PHP_EOL; - echo '' . $game->getBoard() . '' . PHP_EOL; + echo '' . ($game->getBoard() + 1) . '' . PHP_EOL; echo '' . $game->getWhite()->getPlayer()->getName() . '' . PHP_EOL; echo '' . $game->getBlack()->getPlayer()->getName() . '' . PHP_EOL; echo '' . $game->getResult()->getValue() . '' . PHP_EOL;