Skip to content

Commit

Permalink
Ops.
Browse files Browse the repository at this point in the history
  • Loading branch information
gjb2048 committed Aug 20, 2024
1 parent e7fa41e commit 3acc529
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/output/courseformat/content.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public function export_for_template(\renderer_base $output) {
if (!empty($sections)) {
// Is first entry section 0?
if ($sections[0]->num === 0) {
if ((!$singlesectionid) && ($sectionzeronotingrid)) {
if ((!$singlesection) && ($sectionzeronotingrid)) {
// Most formats uses section 0 as a separate section so we remove from the list.
$initialsection = array_shift($sections);
$data->initialsection = $initialsection;
Expand Down

0 comments on commit 3acc529

Please sign in to comment.