Merge pull request #144 from Deutscher-Tischfussballbund/fix/bayern-missing-argument

missing parameter in player details with ELO runs into error
This commit is contained in:
MarvinF
2025-08-30 13:18:19 +02:00
committed by GitHub
@@ -4322,7 +4322,7 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
:</strong></td> :</strong></td>
<td nowrap style="text-align: right"> <td nowrap style="text-align: right">
<?php <?php
echo($spieler->elo_einzel_spiele == 1 ? Text::sprintf('COM_SPORTSMANAGER_GAME_ELO_IN_ONE_GAME', $spieler->elo_einzel) : Text::sprintf('COM_SPORTSMANAGER_GAME_ELO_IN_NUMBER_GAMES', $spieler->elo_einzel)); echo($spieler->elo_einzel_spiele == 1 ? Text::sprintf('COM_SPORTSMANAGER_GAME_ELO_IN_ONE_GAME', $spieler->elo_einzel) : Text::sprintf('COM_SPORTSMANAGER_GAME_ELO_IN_NUMBER_GAMES', $spieler->elo_einzel, $spieler->elo_einzel_spiele));
?> ?>
</td> </td>
</tr> </tr>
@@ -4336,7 +4336,7 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
:</strong></td> :</strong></td>
<td nowrap style="text-align: right"> <td nowrap style="text-align: right">
<?php <?php
echo($spieler->elo_doppel_spiele == 1 ? Text::sprintf('COM_SPORTSMANAGER_GAME_ELO_IN_ONE_GAME', $spieler->elo_doppel) : Text::sprintf('COM_SPORTSMANAGER_GAME_ELO_IN_NUMBER_GAMES', $spieler->elo_doppel)); echo($spieler->elo_doppel_spiele == 1 ? Text::sprintf('COM_SPORTSMANAGER_GAME_ELO_IN_ONE_GAME', $spieler->elo_doppel) : Text::sprintf('COM_SPORTSMANAGER_GAME_ELO_IN_NUMBER_GAMES', $spieler->elo_doppel, $spieler->elo_doppel_spiele));
?> ?>
</td> </td>
</tr> </tr>