diff --git a/mod/forum/index.php b/mod/forum/index.php index 2da19712d1f..93904f8773e 100644 --- a/mod/forum/index.php +++ b/mod/forum/index.php @@ -299,8 +299,7 @@ if ($show_rss = (($can_subscribe || $course->id == SITEID) && /// Now let's process the learning forums if ($course->id != SITEID) { // Only real courses have learning forums - // This is only required for use here and there needs to be a check to see if - // course id is the same as the site id. Moved from above. MDL-27334 + // 'format_.'$course->format only applicable when not SITEID (format_site is not a format) $strsectionname = get_string('sectionname', 'format_'.$course->format); // Add extra field for section number, at the front array_unshift($learningtable->head, $strsectionname);