diff --git a/block_lifecycle.php b/block_lifecycle.php index 783c7ed..bb15073 100644 --- a/block_lifecycle.php +++ b/block_lifecycle.php @@ -83,7 +83,7 @@ public function get_content() { if (has_capability("moodle/site:managecontextlocks", $context)) { $html .= $renderer->show_unfreeze_button($courseid); } - } + } $this->content->text = $html; diff --git a/renderer.php b/renderer.php index 9111e2d..8d68ef1 100644 --- a/renderer.php +++ b/renderer.php @@ -164,7 +164,7 @@ public function show_unfreeze_button(int $courseid): string { $freezeurl = new moodle_url('/admin/lock.php', ['id' => $context->id]); return html_writer::div( '' . - get_string('button:unfreezecoursecontext', 'block_lifecycle') . + get_string('button:unfreezecoursecontext', 'block_lifecycle') . '' );