get email property from user profile instead of reconstructing it
This commit is contained in:
parent
614df3d93a
commit
0ced160c7e
|
@ -838,7 +838,8 @@ class AvisSimplif(BaseContent, AvisOdt):
|
|||
return userInfo.getProperty('fullname').decode('latin-1')
|
||||
|
||||
def getUserEmail(self):
|
||||
return '%s@easi.wallonie.be' % self.Creator()
|
||||
userInfo = self.portal_membership.getMemberById(self.Creator())
|
||||
return userInfo.getProperty('email').decode('latin-1')
|
||||
|
||||
# Methods for getting default answers to questions -------------------------
|
||||
def defodelaiOrdre(self, delaiOrdreCP):
|
||||
|
|
Reference in New Issue