diff --git a/bureau/admin/sql_users_password.php b/bureau/admin/sql_users_password.php index a5c84983..d31da416 100644 --- a/bureau/admin/sql_users_password.php +++ b/bureau/admin/sql_users_password.php @@ -34,38 +34,39 @@ $fields = array ( "id" => array ("request", "string", ""), ); getFields($fields); - -$r=$mysql->get_user_dblist($id); - ?>
"; - } +$r=$mysql->get_user_dblist($id); +if (!$r) { + $error=_("This user doesn't exist"); +} + +if (! empty($error) ) { + echo "
$error
"; + require_once('foot.php'); + die(); +} ?>