diff --git a/gestion/ldap_crans.py b/gestion/ldap_crans.py index 52c6501e..cd4445d2 100644 --- a/gestion/ldap_crans.py +++ b/gestion/ldap_crans.py @@ -1748,7 +1748,7 @@ class BaseProprietaire(BaseClasseCrans): if 'chbre' in self.modifs and '????' in [ self._init_data.get("chbre", [''])[0] , self._init_data.get("chbre", [''])[0] ]: self.services_to_restart('bl_chbre_invalide') - if 'chbre' in self.modifs: + if 'chbre' in self.modifs and self._data['chbre'][0] not in ("????", "EXT"): while True: bat = self._data['chbre'][0][0] ch = self._data['chbre'][0][1:]