fix exam save bug (deactivation)

This commit is contained in:
anhefti 2019-09-13 17:22:47 +02:00
parent 5aa3671608
commit 97183f490d

View file

@ -152,7 +152,7 @@ public final class Exam implements GrantEntity, Activatable {
this.quitPassword = quitPassword;
this.browserExamKeys = browserExamKeys;
this.owner = owner;
this.active = (active != null) ? active : Boolean.FALSE;
this.active = (active != null) ? active : Boolean.TRUE;
this.supporter = (supporter != null)
? Collections.unmodifiableCollection(supporter)