Skip to content

Commit

Permalink
MDL-71376 mod_quiz: fix undefined object reference
Browse files Browse the repository at this point in the history
  • Loading branch information
rjnl committed Apr 20, 2021
1 parent 0fd37bf commit 2ff9484
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mod/quiz/index.php
Expand Up @@ -125,8 +125,8 @@
$strsection = $quiz->section;
$strsection = get_section_name($course, $quiz->section);
}
if ($currentsection) {
$learningtable->data[] = 'hr';
if ($currentsection !== "") {
$table->data[] = 'hr';
}
$currentsection = $quiz->section;
}
Expand Down

0 comments on commit 2ff9484

Please sign in to comment.