Skip to content
Snippets Groups Projects
Commit 893d9c29 authored by srosse's avatar srosse
Browse files

OO-1373: fix unboxing error

parent c2db15b7
No related branches found
No related tags found
No related merge requests found
......@@ -887,7 +887,7 @@ public class NewCachePersistingAssessmentManager extends BasicManager implements
esm.updateUserEfficiencyStatement(userCourseEnv);
}
if(scoreEvaluation.getPassed() && course.getCourseConfig().isAutomaticCertificationEnabled()) {
if(passed != null && passed.booleanValue() && course.getCourseConfig().isAutomaticCertificationEnabled()) {
CertificatesManager certificatesManager = CoreSpringFactory.getImpl(CertificatesManager.class);
if(certificatesManager.isRecertificationAllowed(assessedIdentity, courseEntry)) {
CertificateTemplate template = null;
......
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