We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d113896 commit d10bd37Copy full SHA for d10bd37
block_course_contents.php
@@ -147,7 +147,7 @@ public function get_content() {
147
$title = null;
148
149
if (!empty($section->name)) {
150
- // If the section has explic title defined, it is used.
+ // If the section has explicit title defined, it is used.
151
$title = format_string($section->name, true, array('context' => $context));
152
153
} else if ($autotitle) {
@@ -186,6 +186,7 @@ public function get_content() {
186
187
}
188
189
+ // If we want to display the course link, display it before displaying the section 0.
190
if (($i == 0) && ($displaycourselink)) {
191
$sectionclass = 'section-item';
192
0 commit comments