diff --git a/public/elotracker/RiotRequest.php b/public/elotracker/RiotRequest.php index 421142b..d116d7c 100644 --- a/public/elotracker/RiotRequest.php +++ b/public/elotracker/RiotRequest.php @@ -8,7 +8,7 @@ class RiotRequest { protected string $host = "https://euw1.api.riotgames.com"; public array $responseHeader = array(); public int $responseCode; - private bool $isEUNE; + private bool $isEUNE = false; private bool $usesRouting = false; public function __construct($endpoint, $isEUNE=false) { diff --git a/public/elotracker/index.php b/public/elotracker/index.php index 0f83038..aeb0546 100644 --- a/public/elotracker/index.php +++ b/public/elotracker/index.php @@ -18,7 +18,7 @@ foreach ($tracker->accounts as $puuid => $account){ echo "

$account->gameName#$account->tagLine

"; foreach ($entries as $date => $elo){ $eloValue = $elo->value(); - echo "$date = $eloValue
"; + echo "$date → $eloValue
"; } }