Skip to content

Commit

Permalink
Merge branch 'v_4_2_0' of https://github.com/dominicchinkh/moodle int…
Browse files Browse the repository at this point in the history
…o MOODLE_402_STABLE
  • Loading branch information
HuongNV13 committed Nov 29, 2023
2 parents b705bcd + 6905fec commit 95981fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion theme/boost/classes/output/core_renderer.php
Expand Up @@ -50,7 +50,7 @@ public function edit_button(moodle_url $url, string $method = 'post') {
$url->param('edit', 'on');
$editstring = get_string('turneditingon');
}
$button = new \single_button($url, $editstring, $method, ['class' => 'btn btn-primary']);
$button = new \single_button($url, $editstring, $method, \single_button::BUTTON_PRIMARY);
return $this->render_single_button($button);
}

Expand Down

0 comments on commit 95981fe

Please sign in to comment.