protection bdd historic
This commit is contained in:
parent
e594eb89c7
commit
ff7cdeb447
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ public class NomUI extends JFrame implements Runnable{
|
|||
//Sinon on essaye de prendre un nom
|
||||
if (GestionnaireNom.instance().verifierDisponibiliteNom(nom)) {
|
||||
//Celui-ci ne peut pas être "vide"
|
||||
if (!nom.isBlank()) {
|
||||
if (!nom.isBlank() && !nom.contains("___")) {
|
||||
|
||||
boolean nouvelUtilisateur = (GestionnaireNom.instance().getNom() == null);
|
||||
|
||||
|
|
Loading…
Reference in a new issue