Fix js
This commit is contained in:
parent
6fe20be187
commit
34fbecdbad
10
lib/page.php
10
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);
|
||||
|
Loading…
Reference in New Issue
Block a user