Merge branch 'm29_MDL-49904' of git://github.com/totara/moodle

This commit is contained in:
David Monllao 2015-04-20 10:40:37 +08:00
commit b9476466f1

View File

@ -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);
}