diff --git a/Showing-the-pairings-of-a-specific-round.md b/Showing-the-pairings-of-a-specific-round.md index 9cec625..11092c9 100644 --- a/Showing-the-pairings-of-a-specific-round.md +++ b/Showing-the-pairings-of-a-specific-round.md @@ -19,6 +19,6 @@ $pairings = $tournament->getRoundByNo($_GET['round'])->getPairings(); foreach($pairings as $pairing) { $player = $pairing->getPlayer()->getName(); $opponent = $pairing->getOpponent()->getName(); - $color = $pairing->getColor()- >getColor()->getKey(); + $color = $pairing->getColor()->getKey(); echo $player . ' against ' . $opponent . ' using ' . $color; } \ No newline at end of file