From 876a3baa42d01e8327895aa286e8b4f155254219 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Thu, 5 Feb 2009 13:41:18 +0000 Subject: [PATCH] MDL-10583 course format - some more uses of the get_section_name() added --- course/mod.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/course/mod.php b/course/mod.php index c230b3ea9d3..039c6a3d825 100644 --- a/course/mod.php +++ b/course/mod.php @@ -606,7 +606,7 @@ $form->mode = "add"; $form->sesskey = !empty($USER->id) ? $USER->sesskey : ''; - $sectionname = get_string("name$course->format"); + $sectionname = get_section_name($course->format); $fullmodulename = get_string("modulename", $module->name); if ($form->section) { @@ -655,7 +655,7 @@ $form->type = $type; } - $sectionname = get_string("name$course->format"); + $sectionname = get_section_name($course->format); $fullmodulename = get_string("modulename", $module->name); if ($form->section && $course->format != 'site') {