Petit bug
Corrig par stphane darcs-hash:20051110194709-c3cc4-02e2acce5f28d21357d40af37260f233b76d0a8c.gz
This commit is contained in:
parent
5f999d2a81
commit
b4639ea1da
1 changed files with 6 additions and 1 deletions
|
@ -1199,7 +1199,12 @@ class base_proprietaire(base_classes_crans):
|
|||
(p pour le paiement, c pour la carte
|
||||
Retourne une chaine contenant p ou c ou les deux
|
||||
"""
|
||||
actuel = self._data.get('controle',[''])[0]
|
||||
actuel = self._data.get('controle',[''])
|
||||
if not actuel:
|
||||
actuel = ''
|
||||
else:
|
||||
actuel = actuel[0]
|
||||
|
||||
if new==None:
|
||||
return actuel
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue