Skip to content
Snippets Groups Projects
Commit 61859c93 authored by srosse's avatar srosse
Browse files

OO-291: fix NPE in import wizard of member in a group/course

parent efd5fd61
No related branches found
No related tags found
No related merge requests found
......@@ -121,7 +121,7 @@ public class EditMembershipController extends FormBasicController {
super(ureq, wControl, "edit_member");
this.member = null;
this.members = new ArrayList<Identity>(members);
this.members = (members == null ? null : new ArrayList<Identity>(members));
this.repoEntry = repoEntry;
this.withButtons = true;
repositoryManager = CoreSpringFactory.getImpl(RepositoryManager.class);
......@@ -138,7 +138,7 @@ public class EditMembershipController extends FormBasicController {
super(ureq, wControl, LAYOUT_CUSTOM, "edit_member", rootForm);
this.member = null;
this.members = new ArrayList<Identity>(members);
this.members = (members == null ? null : new ArrayList<Identity>(members));
this.repoEntry = repoEntry;
this.withButtons = false;
repositoryManager = CoreSpringFactory.getImpl(RepositoryManager.class);
......
......@@ -3,5 +3,5 @@ import.import.title=Benutzernamen angeben
import.confirm.title=berprfen
import.permission.title=Berechtigungen
import.mail.title=E-Mail-Benachrichtigung
form.names.example=aoi,kanu,
form.names.example=test01<br/>author02<br/>
form.addusers=Benutzername
\ No newline at end of file
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