Update admin_ug_auth.php

This commit is contained in:
Roman Kelesidis 2024-01-26 16:24:59 +07:00
parent bdd9939e3c
commit 7bf10b3e50

View File

@ -193,7 +193,7 @@ if ($mode == 'user' && (!empty($_POST['username']) || $user_id))
if (!empty($_POST['username']))
{
$this_userdata = get_userdata($_POST['username'], true);
$user_id = $this_userdata ? $this_userdata['user_id'] : false;
$user_id = $this_userdata['user_id'];
}
else
{