diff --git a/user.php b/user.php index a441b580d..e17340fad 100644 --- a/user.php +++ b/user.php @@ -187,7 +187,8 @@ if (vartrue($records) > 30) if (isset($id)) { - if ($id == 0) + $user_exists = $sql->count("user","(*)", "WHERE user_id = ".$id.""); + if($id == 0 || $user_exists == false) { $text = "