MDL-71376 mod_quiz: fix undefined object reference
This commit is contained in:
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user