mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 09:44:55 +02:00
Fix highscores if there is only 1 record
This commit is contained in:
@@ -311,7 +311,6 @@ if(config('highscores_balance'))
|
||||
/** @var Twig\Environment $twig */
|
||||
$twig->display('highscores.html.twig', [
|
||||
'highscores' => $highscores,
|
||||
'totalRows' => $i - 1,
|
||||
'list' => $list,
|
||||
'skill' => $skill,
|
||||
'skillName' => ($skill == SKILL_FRAGS ? 'Frags' : ($skill == SKILL_BALANCE ? 'Balance' : getSkillName($skill))),
|
||||
|
Reference in New Issue
Block a user