Skip to content

Commit

Permalink
Merge branch 'MDL-80540-main' of https://github.com/sarjona/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
junpataleta committed Jan 12, 2024
2 parents 24c4e47 + fdc48c0 commit be63ec9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/section_links/renderer.php
Expand Up @@ -77,7 +77,7 @@ public function render_section_links(stdClass $course, array $sections, $jumptos
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;
Expand Down

0 comments on commit be63ec9

Please sign in to comment.