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
bdd9939e3c
commit
7bf10b3e50
@ -193,7 +193,7 @@ if ($mode == 'user' && (!empty($_POST['username']) || $user_id))
|
|||||||
if (!empty($_POST['username']))
|
if (!empty($_POST['username']))
|
||||||
{
|
{
|
||||||
$this_userdata = get_userdata($_POST['username'], true);
|
$this_userdata = get_userdata($_POST['username'], true);
|
||||||
$user_id = $this_userdata ? $this_userdata['user_id'] : false;
|
$user_id = $this_userdata['user_id'];
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user