Revert "Update admin_ug_auth.php"

This reverts commit 7bf10b3e50.
This commit is contained in:
Roman Kelesidis 2024-02-11 15:19:36 +07:00
parent 38a8a44ceb
commit 38b689c9e1

View File

@ -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
{