MDL-76341 tool_lp: Fixed learning plan's header not containing user name

This commit is contained in:
Stevani Andolo 2022-11-18 11:37:18 +08:00
parent e45f7f691a
commit a2578defa8

View File

@ -229,7 +229,7 @@ class page_helper {
$PAGE->set_pagelayout('standard');
$PAGE->set_url($url);
$PAGE->set_title($title);
$PAGE->set_heading($title);
$PAGE->set_heading(fullname($user));
if (!empty($plan)) {
$PAGE->navbar->add($title, $planurl);
@ -303,7 +303,7 @@ class page_helper {
$PAGE->set_pagelayout('standard');
$PAGE->set_url($url);
$PAGE->set_title($title);
$PAGE->set_heading($title);
$PAGE->set_heading(fullname($user));
if (!empty($evidence)) {
$PAGE->navbar->add($title, $evidenceurl);