mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-57234 Quiz report: fix exception in Responses for all users
This commit is contained in:
parent
a0352aa95e
commit
6c45e525fc
@ -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());
|
||||
|
Loading…
x
Reference in New Issue
Block a user