diff --git a/matchinfo.php b/matchinfo.php index 04a55a4..bff0724 100644 --- a/matchinfo.php +++ b/matchinfo.php @@ -51,7 +51,7 @@ $lastMatches = array_slice($allMatches, 0, 8); // Read and decode the JSON file $jsonData = json_decode(file_get_contents($filename), true); $matchinfo = $jsonData['data']['attributes']; - $matchdata = $jsonData['data'] + $matchdata = $jsonData['data']; echo "
| matchType | duration | gameMode | mapName | createdAt | id |
|---|---|---|---|---|---|
| " . htmlspecialchars($matchinfo['matchType']) . " | ";