Merge branch 'm29_MDL-49904' of git://github.com/totara/moodle
This commit is contained in:
@@ -311,8 +311,10 @@ if ($user->id == -1 or ($user->id != $USER->id)) {
|
||||
if ($user->id == -1) {
|
||||
echo $OUTPUT->header();
|
||||
} else {
|
||||
$streditmyprofile = get_string('editmyprofile');
|
||||
$userfullname = fullname($user, true);
|
||||
$PAGE->set_heading($userfullname);
|
||||
$PAGE->set_title("$course->shortname: $streditmyprofile - $userfullname");
|
||||
echo $OUTPUT->header();
|
||||
echo $OUTPUT->heading($userfullname);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user