From 4c03fd8b7c6f3ec567068b7b41a4df56f92f10cc Mon Sep 17 00:00:00 2001 From: Gareth Barnard <1058419+gjb2048@users.noreply.github.com> Date: Wed, 22 May 2024 19:14:08 +0100 Subject: [PATCH] set_section_number deprecated. --- format.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/format.php b/format.php index 717edc6e..f175546c 100755 --- a/format.php +++ b/format.php @@ -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);