This commit is contained in:
Bruno Rybársky 2024-02-06 20:55:33 +01:00
parent 6fe20be187
commit 34fbecdbad

@ -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);