mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
parent
9ce463b1e5
commit
f2ee6c36b1
@ -200,12 +200,11 @@ 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);
|
||||
}
|
||||
elseif (isset($user_id))
|
||||
else
|
||||
{
|
||||
$this_userdata = get_userdata($user_id);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user