mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
parent
38a8a44ceb
commit
38b689c9e1
@ -203,7 +203,7 @@ if ($mode == 'user' && (!empty($_POST['username']) || $user_id))
|
||||
if (!empty($_POST['username']))
|
||||
{
|
||||
$this_userdata = get_userdata($_POST['username'], true);
|
||||
$user_id = $this_userdata['user_id'];
|
||||
$user_id = $this_userdata ? $this_userdata['user_id'] : false;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user