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

OO-3045: no user course environment, no settings

parent fe07dba9
No related branches found
No related tags found
No related merge requests found
......@@ -540,6 +540,9 @@ public class CourseRuntimeController extends RepositoryEntryRuntimeController im
if (reSecurity.isEntryAdmin() || hasCourseRight(CourseRights.RIGHT_COURSEEDITOR)) {
boolean managed = RepositoryEntryManagedFlag.isManaged(getRepositoryEntry(), RepositoryEntryManagedFlag.editcontent);
UserCourseEnvironment uce = getUserCourseEnvironment();
if(uce == null) {
return;// cannot edit settings without uce
}
settings.setElementCssClass("o_sel_course_settings");
......
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