Merge branch 'zope-2.13' of ssh://ssh.cri.ensmp.fr/~pin/gitrepositories/Plinn into...
[Plinn.git] / skins / control / getRecipients.py
index 7977f15..d225f32 100644 (file)
@@ -12,7 +12,7 @@ for role in roles :
        for member in object.getAllMembersInRole(role) :
                if (member.id not in recipientIds) and member.getProperty('email') :
                        membersInRole.append(member)
        for member in object.getAllMembersInRole(role) :
                if (member.id not in recipientIds) and member.getProperty('email') :
                        membersInRole.append(member)
-                       recipientIds.append(member.id)
+                       recipientIds.append(member.getId())
        if membersInRole :
                rolesAndMembers.append( (role, membersInRole) )
 
        if membersInRole :
                rolesAndMembers.append( (role, membersInRole) )