Skip to content

Commit

Permalink
set_section_number deprecated.
Browse files Browse the repository at this point in the history
  • Loading branch information
gjb2048 committed May 22, 2024
1 parent 7bd7ddb commit 4c03fd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion format.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
$renderer = $PAGE->get_renderer('format_grid');

if (!empty($displaysection)) {
$format->set_section_number($displaysection);
$format->set_sectionnum($displaysection);
}
$outputclass = $format->get_output_classname('content');
$widget = new $outputclass($format);
Expand Down

0 comments on commit 4c03fd8

Please sign in to comment.