mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update admin_ug_auth.php
This commit is contained in:
parent
df45bcd462
commit
743da07f3d
@ -190,11 +190,12 @@ if ($mode == 'user' && (!empty($_POST['username']) || $user_id))
|
|||||||
{
|
{
|
||||||
$page_cfg['quirks_mode'] = true;
|
$page_cfg['quirks_mode'] = true;
|
||||||
|
|
||||||
|
$this_userdata = false;
|
||||||
if (!empty($_POST['username']))
|
if (!empty($_POST['username']))
|
||||||
{
|
{
|
||||||
$this_userdata = get_userdata($_POST['username'], true);
|
$this_userdata = get_userdata($_POST['username'], true);
|
||||||
}
|
}
|
||||||
else
|
elseif (isset($user_id))
|
||||||
{
|
{
|
||||||
$this_userdata = get_userdata($user_id);
|
$this_userdata = get_userdata($user_id);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user