Update admin_ug_auth.php

This commit is contained in:
Roman Kelesidis 2024-01-26 16:56:07 +07:00
parent df45bcd462
commit 743da07f3d

View File

@ -190,11 +190,12 @@ if ($mode == 'user' && (!empty($_POST['username']) || $user_id))
{
$page_cfg['quirks_mode'] = true;
$this_userdata = false;
if (!empty($_POST['username']))
{
$this_userdata = get_userdata($_POST['username'], true);
}
else
elseif (isset($user_id))
{
$this_userdata = get_userdata($user_id);
}