Skip to content
Snippets Groups Projects
Commit 1be5affb authored by srosse's avatar srosse
Browse files

Merge with 7bbfb97a23bdf3351390e3092fe50ca43892d424

parents cc8d5a2a 7d0c7c0d
No related branches found
No related tags found
No related merge requests found
...@@ -386,7 +386,11 @@ public class CourseConfig implements Serializable, Cloneable { ...@@ -386,7 +386,11 @@ public class CourseConfig implements Serializable, Cloneable {
* @return true if the efficency statement is enabled * @return true if the efficency statement is enabled
*/ */
public Long getCertificateTemplate() { public Long getCertificateTemplate() {
Long templateId = (Long)configuration.get(CERTIFICATE_TEMPLATE); Object templateIdObj = configuration.get(CERTIFICATE_TEMPLATE);
Long templateId = null;
if(templateIdObj instanceof Long) {
templateId = (Long)templateIdObj;
}
return templateId; return templateId;
} }
......
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