diff --git a/index.php b/index.php
index d645be6..f03fccf 100644
--- a/index.php
+++ b/index.php
@@ -104,8 +104,8 @@ $lastMatches = array_slice($allMatches, 0, 8);
foreach ($clanmembers['clanMembers'] as $value) {
foreach ($playerRanks as $rank) {
if ($rank['name'] == $value) {
- if (isset($rank['stats']['data']['attributes']['rankedGameModeStats']['squad-fpp'])) {
- echo "
| name | " . htmlspecialchars($value) . " | " . htmlspecialchars($rank['stats']['data']['attributes']['rankedGameModeStats']['squad-fpp']['currentTier']) . " | " . htmlspecialchars($rank['stats']['data']['attributes']['rankedGameModeStats']['squad-fpp']['currentRankPoint']) . " |
";
+ if (isset($rank['stat']['data']['attributes']['rankedGameModeStats']['squad-fpp'])) {
+ echo "| name | " . htmlspecialchars($value) . " | " . htmlspecialchars($rank['stat']['data']['attributes']['rankedGameModeStats']['squad-fpp']['currentTier']) . " | " . htmlspecialchars($rank['stats']['data']['attributes']['rankedGameModeStats']['squad-fpp']['currentRankPoint']) . " |
";
} else {
echo "| name | " . htmlspecialchars($value) . " | N/A | N/A |
";
}