Skip to content

Commit

Permalink
MDL-57234 Quiz report: fix exception in Responses for all users
Browse files Browse the repository at this point in the history
  • Loading branch information
Beedell committed Dec 1, 2016
1 parent a0352aa commit 6c45e52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/quiz/report/responses/report.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public function display($quiz, $cm, $course) {
// This option is only available to users who can access all groups in
// groups mode, so setting allowed to empty (which means all quiz attempts
// are accessible, is not a security problem.
$allowedjoins = array();
$allowedjoins = new \core\dml\sql_join();
}

$this->process_actions($quiz, $cm, $currentgroup, $groupstudentsjoins, $allowedjoins, $options->get_url());
Expand Down

0 comments on commit 6c45e52

Please sign in to comment.