MDL-27334 : summarised comment about problem.
we have git for history.
This commit is contained in:
+1
-2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user