mirror of
https://github.com/moodle/moodle.git
synced 2025-04-20 16:04:25 +02:00
MDL-61380 Quiz: Fix url generation in notenoughrandomquestions exception
This commit is contained in:
parent
6650c66b59
commit
82c67ac7f0
@ -1876,7 +1876,7 @@ class quiz_attempt {
|
||||
(bool) $questiondata->questiontext);
|
||||
if ($newqusetionid === null) {
|
||||
throw new moodle_exception('notenoughrandomquestions', 'quiz',
|
||||
$quizobj->view_url(), $questiondata);
|
||||
$this->quizobj->view_url(), $questiondata);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user