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

OO-5271: adapt to unit tests

parent 488f32c1
No related branches found
No related tags found
No related merge requests found
......@@ -79,7 +79,7 @@ public class UserCourseEnvironmentImpl implements UserCourseEnvironment {
public UserCourseEnvironmentImpl(IdentityEnvironment identityEnvironment, CourseEnvironment courseEnvironment) {
this(identityEnvironment, courseEnvironment, null, null, null, null, null, null, null, null);
if(courseEnvironment != null) {
if(courseEnvironment != null && courseEnvironment.getCourseGroupManager().getCourseEntry().getEntryStatus() != null) {
courseReadOnly = courseEnvironment.getCourseGroupManager().getCourseEntry().getEntryStatus().decommissioned();
}
}
......
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