mirror of
https://github.com/moodle/moodle.git
synced 2025-04-20 07:56:06 +02:00
MDL-78385 course: fix non-AJAX activity indentation URL parameter.
This commit is contained in:
parent
71c36d2de1
commit
e3583a2302
@ -1738,7 +1738,7 @@ function course_get_cm_edit_actions(cm_info $mod, $indent = -1, $sr = null) {
|
||||
$enabledclass = '';
|
||||
}
|
||||
$actions['moveleft'] = new action_menu_link_secondary(
|
||||
new moodle_url($baseurl, ['id' => $mod->id, 'indent' => '0']),
|
||||
new moodle_url($baseurl, ['id' => $mod->id, 'indent' => '-1']),
|
||||
new pix_icon($leftarrow, '', 'moodle', ['class' => 'iconsmall']),
|
||||
$str->moveleft,
|
||||
[
|
||||
|
Loading…
x
Reference in New Issue
Block a user