Skip to content

Commit 0eb26a5

Browse files
author
Laur0r
authored
reinsert button type for Moodle 4.4
1 parent c745367 commit 0eb26a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

classes/local/table/manual_courses_table.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ public function col_tools($row) {
185185
]);
186186

187187
return $OUTPUT->render(new \single_button($url,
188-
get_string('set_re_eval', 'block_evasys_sync'), 'post', false, [
188+
get_string('set_re_eval', 'block_evasys_sync'), 'post', \single_button::BUTTON_SECONDARY, [
189189
'data-modal' => 'confirmation',
190190
'data-modal-title-str' => json_encode(['confirm', 'core']),
191191
'data-modal-content-str' => json_encode(['areyousure']),

0 commit comments

Comments
 (0)