Merge branch 'MDL-80540-main' of https://github.com/sarjona/moodle

This commit is contained in:
Jun Pataleta 2024-01-12 17:47:07 +08:00
commit be63ec95cb
No known key found for this signature in database
GPG Key ID: F83510526D99E2C7

View File

@ -77,7 +77,7 @@ class block_section_links_renderer extends plugin_renderer_base {
if (!$sections[$jumptosection]->visible) {
$attributes['class'] = 'dimmed';
}
$html .= html_writer::link(course_get_url($course, $jumptosection), $linktext, $attributes);
$html .= html_writer::link(course_get_url($course, $jumptosection, ['navigation' => true]), $linktext, $attributes);
}
return $html;