Update admin_ug_auth.php

This commit is contained in:
Roman Kelesidis 2024-01-26 17:47:23 +07:00
parent 743da07f3d
commit 10314cf675

View File

@ -195,7 +195,7 @@ if ($mode == 'user' && (!empty($_POST['username']) || $user_id))
{ {
$this_userdata = get_userdata($_POST['username'], true); $this_userdata = get_userdata($_POST['username'], true);
} }
elseif (isset($user_id)) elseif (!empty($user_id))
{ {
$this_userdata = get_userdata($user_id); $this_userdata = get_userdata($user_id);
} }