mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 08:55:15 +02:00
MDL-80035 theme_boost: Fix fourth argument of single_button constructor
This commit is contained in:
parent
e4d1369475
commit
5853645aa5
@ -50,7 +50,7 @@ class core_renderer extends \core_renderer {
|
||||
$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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user