MDL-70267 ux, theme: Course user profile inconsistent page layout.
authorGareth Barnard <1058419+gjb2048@users.noreply.github.com>
Fri, 20 Nov 2020 16:22:01 +0000 (16:22 +0000)
committerGareth Barnard <1058419+gjb2048@users.noreply.github.com>
Sun, 29 Nov 2020 23:48:56 +0000 (23:48 +0000)
user/view.php

index 0829ca8..921a28c 100644 (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.