fix: add previously deleted parameter back into sprintf again with reference to $spieler

This commit is contained in:
Marvin Flock
2025-08-14 22:34:33 +02:00
parent a6f302cb63
commit 4f264ed72d
@@ -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>