mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-22 04:23:01 +00:00
Bugfix: Correct user data env population
This commit is contained in:
parent
3358b8b100
commit
7868028f2c
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
{
|
||||
|
|
2
core.php
2
core.php
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue