diff --git a/latestmatches.php b/latestmatches.php index a151365..b496740 100644 --- a/latestmatches.php +++ b/latestmatches.php @@ -50,7 +50,7 @@ error_reporting(E_ALL); ); // Display the player's match stats foreach ($players_matches as $player_data) { - if ($player_data['playername'] === $selected_player) { + if (isset($player_data['playername']) && $player_data['playername'] === $selected_player) { echo "
| Match Date | Game Mode | MatchType | Map | Kills | Damage Dealt | Time Survived | winPlace |
|---|