mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
MDL-71376 mod_quiz: fix undefined object reference
This commit is contained in:
parent
0fd37bf5d8
commit
2ff9484417
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user