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
+1 -1
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;