MDL-57234 Quiz report: fix exception in Responses for all users

This commit is contained in:
John Beedell 2016-12-01 15:47:19 +00:00
parent a0352aa95e
commit 6c45e525fc

View File

@ -106,7 +106,7 @@ class quiz_responses_report extends quiz_attempts_report {
// 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());