Skip to content

Commit

Permalink
Merge pull request #179 from izendegi/patch-1
Browse files Browse the repository at this point in the history
Fix filter issue
  • Loading branch information
davidherney committed May 9, 2024
2 parents 6185ef9 + 2fc8e14 commit 21c8e94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ private function get_tabs(course_modinfo $modinfo, \renderer_base $output): \for
} while ($parentformatoptions['level'] == 1 && $prevsectionindex >= $firstsection);

if ($parentformatoptions['firsttabtext']) {
$indextab->content = $parentformatoptions['firsttabtext'];
$indextab->content = format_string($parentformatoptions['firsttabtext'], true, $course->id);
} else {
$indextab->content = get_string('index', 'format_onetopic');
}
Expand Down

0 comments on commit 21c8e94

Please sign in to comment.