Skip to content

Commit

Permalink
Use html_writer for Moodle 4.2 and lower
Browse files Browse the repository at this point in the history
  • Loading branch information
tsmilan committed Sep 4, 2024
1 parent 8e487dc commit 37916de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion progress.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
$PAGE->set_cacheable(false);
echo $OUTPUT->header();
echo $OUTPUT->heading(get_string('progress', 'tool_heartbeat'));
echo $OUTPUT->paragraph(get_string('progresshelp', 'tool_heartbeat'));
echo html_writer::tag('p', get_string('progresshelp', 'tool_heartbeat'));
$progressbar = new progress_bar();
$progressbar->create();
echo $OUTPUT->footer();
Expand Down

0 comments on commit 37916de

Please sign in to comment.