MDL-70267 ux, theme: Course user profile inconsistent page layout.

This commit is contained in:
Gareth Barnard 2020-11-20 16:22:01 +00:00
parent f34b44674f
commit ac7cf94d96
No known key found for this signature in database
GPG Key ID: B3F86F2CCEC3E475

View File

@ -159,7 +159,7 @@ if ($currentuser) {
$PAGE->set_title("$course->fullname: $strpersonalprofile: $fullname");
$PAGE->set_heading($course->fullname);
$PAGE->set_pagelayout('standard');
$PAGE->set_pagelayout('mypublic');
// Locate the users settings in the settings navigation and force it open.
// This MUST be done after we've set up the page as it is going to cause theme and output to initialise.