diff --git a/lib/page.php b/lib/page.php index df1a4db..a9e8b91 100644 --- a/lib/page.php +++ b/lib/page.php @@ -146,11 +146,11 @@ function getPage($site_name_in = null, $page_name_in = null): string ]; if(isLoggedIn()){ $dynamic_script_data += [ - "UserInfo_FirstName" => $_SESSION["FirstName"], - "UserInfo_LastName" => $_SESSION["LastName"], - "UserInfo_Nickname" => $_SESSION["Nickname"], - "UserInfo_Email" => $_SESSION["Email"], - "UserInfo_MinecraftNick" => $_SESSION["MinecraftNick"], + "UserInfo_FirstName" => $_SESSION["first_name"], + "UserInfo_LastName" => $_SESSION["last_name"], + "UserInfo_Nickname" => $_SESSION["nickname"], + "UserInfo_Email" => $_SESSION["email"], + "UserInfo_MinecraftNick" => $_SESSION["minecraft_nickname"], ]; } $dynamic_script = generateScriptData($dynamic_script_data);