1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-11-25 17:23:00 +00:00

Bugfix: Correct user data env population

This commit is contained in:
Starbeamrainbowlabs 2016-12-23 17:44:08 +00:00
parent 3358b8b100
commit 7868028f2c
2 changed files with 2 additions and 2 deletions

View file

@ -380,7 +380,7 @@ if(isset($_SESSION[$settings->sessionprefix . "-user"]) and
{
// The user is logged in
$env->is_logged_in = true;
$env->user_data = $settings->{$env->user};
$env->user_data = $settings->users->{$env->user};
}
else
{

View file

@ -63,7 +63,7 @@ if(isset($_SESSION[$settings->sessionprefix . "-user"]) and
{
// The user is logged in
$env->is_logged_in = true;
$env->user_data = $settings->{$env->user};
$env->user_data = $settings->users->{$env->user};
}
else
{