fixed inverse logic misstake

This commit is contained in:
anhefti 2023-01-26 16:19:08 +01:00
parent e998e40bc1
commit 7e22375260

View file

@ -389,7 +389,7 @@ public class ExamConfigurationMapDAOImpl implements ExamConfigurationMapDAO {
.build() .build()
.execute() .execute()
.stream() .stream()
.filter(rec -> !isExamActive(rec.getExamId())) .filter(rec -> isExamActive(rec.getExamId()))
.findFirst() .findFirst()
.isPresent()); .isPresent());
} }