added null check to avoid npe when choosing to show recipients before doing choices
This commit is contained in:
parent
3ebad8d03b
commit
d8c7a9e436
@ -235,6 +235,7 @@ public class AdminMailPanel extends Panel {
|
||||
private void showRecipients(){
|
||||
ArrayList<String> mailList = new ArrayList<String>();
|
||||
for(User u : userSet){
|
||||
if (u!=null)
|
||||
mailList.add(u.toString() + " (" + u.getEmailAddress() +")");
|
||||
}
|
||||
Collections.sort(mailList);
|
||||
|
Loading…
x
Reference in New Issue
Block a user