Skip to content

Commit

Permalink
Fixed php lint error.
Browse files Browse the repository at this point in the history
  • Loading branch information
lbailey-ucsf committed Dec 27, 2024
1 parent 6bee8c3 commit 775fb5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion report.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
}

} else {
if (!$quiz = $DB->get_record('quiz', ['id' => $q]))) {
if (!$quiz = $DB->get_record('quiz', ['id' => $q])) {
throw new \moodle_exception('invalidquizid', 'quiz');
}
if (!$course = $DB->get_record('course', ['id' => $quiz->course])) {
Expand Down

0 comments on commit 775fb5c

Please sign in to comment.