diff --git a/user_admin.php b/user_admin.php index ffccf5ff0..844a601e2 100644 --- a/user_admin.php +++ b/user_admin.php @@ -419,7 +419,7 @@ function graph_config_edit() { function user_remove() { if ((read_config_option("remove_verification") == "on") && (!isset($_GET["confirm"]))) { include ('include/top_header.php'); - form_confirm("Are You Sure?", "Are you sure you want to delete the user '" . db_fetch_cell("select username from user where id=" . $_GET["id"]) . "'?", $_SERVER["HTTP_REFERER"], "user_admin.php?action=user_remove&id=" . $_GET["id"]); + form_confirm("Are You Sure?", "Are you sure you want to delete the user '" . db_fetch_cell("select username from user_auth where id=" . $_GET["id"]) . "'?", $_SERVER["HTTP_REFERER"], "user_admin.php?action=user_remove&id=" . $_GET["id"]); include ('include/bottom_footer.php'); exit; }