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

OO-1159: a better fix to the issue with the resume as perfect solution is not...

OO-1159: a better fix to the issue with the resume as perfect solution is not possible without refactoring
parent 2c943c85
No related branches found
No related tags found
No related merge requests found
......@@ -1132,7 +1132,7 @@ public class RunMainController extends MainLayoutBasicController implements Gene
}
if (showCourseConfigLink) {
ChiefController chief = (ChiefController) Windows.getWindows(ureq).getAttribute("AUTHCHIEFCONTROLLER");
if (chief != null && chief.hasStaticSite(RepositorySite.class)) {
if (chief == null || chief.hasStaticSite(RepositorySite.class)) {
myTool.addLink(TOOLBOX_LINK_COURSECONFIG, translate("command.courseconfig"));
}
}
......
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