Skip to content

Commit

Permalink
Section 0 now in columns.
Browse files Browse the repository at this point in the history
  • Loading branch information
gjb2048 committed May 9, 2024
1 parent 6559cad commit 054bb9c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions classes/output/renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -370,8 +370,7 @@ protected function section_summary($section, $course, $mods) {
if (empty($this->course)) {
$this->course = $this->courseformat->get_course();
}
if (($section->section != 0) &&
($this->course->layoutcolumns > 1)) { // Horizontal column layout.
if ($this->course->layoutcolumns > 1) { // Horizontal column layout.
$classattrextra .= ' '.$this->get_column_class($this->course->layoutcolumns);
}
$sectionsummarycontext['classattrextra'] = $classattrextra;
Expand Down

0 comments on commit 054bb9c

Please sign in to comment.