Skip to content
Snippets Groups Projects
Commit 5085d7e6 authored by srosse's avatar srosse
Browse files

Merge OpenOLAT 10.1 to OpenOLAT default branch with 252d5e43109c29057565f8cc311f6264cd54a3d8

parents a706c0b6 a3d98967
No related branches found
No related tags found
No related merge requests found
......@@ -103,7 +103,9 @@ public class ContactMessage {
}
private ContactList cleanEMailList(ContactList emailList) {
for (Identity identity: emailList.getIdentiEmails().values()) {
Identity[] identityMails = emailList.getIdentiEmails().values()
.toArray(new Identity[emailList.getIdentiEmails().size()]);
for (Identity identity:identityMails) {
if(MailHelper.isDisabledMailAddress(identity, null)) {
emailList.remove(identity);
if(!disabledIdentities.contains(identity)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment