mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
parent
f2ee6c36b1
commit
38a8a44ceb
@ -203,6 +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'];
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -217,7 +218,6 @@ if ($mode == 'user' && (!empty($_POST['username']) || $user_id))
|
||||
bb_die($message);
|
||||
unset($message);
|
||||
}
|
||||
$user_id = $this_userdata['user_id'];
|
||||
|
||||
if (!$forums = $datastore->get('cat_forums'))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user