[gest_crans,whos] Correction comptes supprimes
On evite de chier quand on a supprime le compte crans de quelqu'un et qu'on a '' comme adresse mail ... darcs-hash:20110118185649-ddb99-0f5297337aa6ba04615e7077ab19d695340458c2.gz
This commit is contained in:
parent
5bd8225cbe
commit
5083ca16ad
2 changed files with 9 additions and 2 deletions
|
@ -400,9 +400,11 @@ def adher_details(adher) :
|
|||
|
||||
# Mail
|
||||
GL = RMH = u''
|
||||
if adher.mail().find(u'@')!=-1 :
|
||||
if adher.mail().find(u'@')!=-1 or adher.mail() == '':
|
||||
f += coul(u'Adresse mail : ','gras')
|
||||
if adher.mail_invalide():
|
||||
if adher.mail() == '':
|
||||
f += coul('INCONNUE','rouge')
|
||||
elif adher.mail_invalide():
|
||||
f += coul(adher.mail(),'rouge')
|
||||
else:
|
||||
f += adher.mail()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue