Merge branch 'MOODLE_39_STABLE-MDL-71376' of https://github.com/rjnl/moodle into MOODLE_39_STABLE

This commit is contained in:
Andrew Nicols 2021-04-23 11:53:36 +08:00
commit 6d6a39e34d

View file

@ -125,8 +125,8 @@ foreach ($quizzes as $quiz) {
$strsection = $quiz->section;
$strsection = get_section_name($course, $quiz->section);
}
if ($currentsection) {
$learningtable->data[] = 'hr';
if ($currentsection !== "") {
$table->data[] = 'hr';
}
$currentsection = $quiz->section;
}