Skip to content

Commit

Permalink
MDL-74964 core_enrol: enrolment page UI fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
marinaglancy authored and lameze committed Jul 27, 2022
1 parent 2ccd074 commit 5715b74
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions enrol/index.php
Expand Up @@ -55,6 +55,8 @@
$PAGE->set_course($course);
$PAGE->set_pagelayout('incourse');
$PAGE->set_url('/enrol/index.php', array('id'=>$course->id));
$PAGE->set_secondary_navigation(false);
$PAGE->add_body_class('limitedwidth');

// do not allow enrols when in login-as session
if (\core\session\manager::is_loggedinas() and $USER->loginascontext->contextlevel == CONTEXT_COURSE) {
Expand Down

0 comments on commit 5715b74

Please sign in to comment.