diff --git a/gestion/ldap_crans.py b/gestion/ldap_crans.py index 7cb54e3a..b2051234 100755 --- a/gestion/ldap_crans.py +++ b/gestion/ldap_crans.py @@ -844,7 +844,7 @@ class base_classes_crans(crans_ldap) : for m in self.modifs : if sre.match('blacklist_*',m) : serv.append(m) - elif m == 'chbre' and '????' in [ self._init_data.get("chbre",[])[0] , self._data.get("chbre",[])[0] ] : + elif m == 'chbre' and '????' in [ self._init_data.get("chbre",[''])[0] , self._data.get("chbre",[''])[0] ] : serv.append('bl_chbre_invalide') else : for s in annuaire_modif_service.get(m,[]) :