".get_string("none")."
"; + $this->content->text .= "".get_string("none")."
"; } return $this->content; diff --git a/blocks/section_links/block_section_links.php b/blocks/section_links/block_section_links.php index a6f08a8639a4e..03043519d4736 100644 --- a/blocks/section_links/block_section_links.php +++ b/blocks/section_links/block_section_links.php @@ -63,7 +63,7 @@ function get_content() { } else { $link = '#'; } - $text = ''; + $text = ''; for ($i = $inc; $i <= $this->course->numsections; $i += $inc) { $isvisible = get_field('course_sections', 'visible', 'course', $this->course->id, 'section', $i); if (!$isvisible and !isteacher($this->course->id)) {