From 97183f490d8666e0dcf17aa31d8f62bfd33fbf8b Mon Sep 17 00:00:00 2001 From: anhefti Date: Fri, 13 Sep 2019 17:22:47 +0200 Subject: [PATCH] fix exam save bug (deactivation) --- src/main/java/ch/ethz/seb/sebserver/gbl/model/exam/Exam.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/ch/ethz/seb/sebserver/gbl/model/exam/Exam.java b/src/main/java/ch/ethz/seb/sebserver/gbl/model/exam/Exam.java index 8b9fb1fb..8b6f0e49 100644 --- a/src/main/java/ch/ethz/seb/sebserver/gbl/model/exam/Exam.java +++ b/src/main/java/ch/ethz/seb/sebserver/gbl/model/exam/Exam.java @@ -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)