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
7bf10b3e50
commit
df45bcd462
@ -193,7 +193,6 @@ 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'];
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -203,6 +202,7 @@ if ($mode == 'user' && (!empty($_POST['username']) || $user_id))
|
||||
{
|
||||
bb_die($lang['NO_SUCH_USER']);
|
||||
}
|
||||
$user_id = $this_userdata['user_id'];
|
||||
|
||||
if (!$forums = $datastore->get('cat_forums'))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user