diff --git a/gestion/ldap_crans.py b/gestion/ldap_crans.py index beea89f6..a2b78759 100755 --- a/gestion/ldap_crans.py +++ b/gestion/ldap_crans.py @@ -1700,7 +1700,7 @@ class BaseProprietaire(BaseClasseCrans): self.services_to_restart('rouge-dhcp') # Vérification si changement de bât, ce qui obligerai un changement d'IP - if 'chbre' in self.modifs and self.chbre() != '????': + if 'adherentPayant' in self.modifs or 'chbre' in self.modifs and self.chbre() != '????': # Verif si machines avec bonnes ip err = 0 for m in self.machines():