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

This commit is contained in:
Stevani Andolo
2022-11-21 14:35:19 +08:00
committed by Stevani Andolo
parent d652929260
commit 3bd0fd816f
+2 -2
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);