mirror of
https://github.com/moodle/moodle.git
synced 2025-02-09 01:21:57 +01:00
fixed stupid bug in code for adding random questions
This commit is contained in:
parent
428b9360de
commit
adf3c01551
@ -41,7 +41,7 @@
|
||||
// now remove the ones that are already used in this quiz
|
||||
if ($questionids = explode(',', $modform->questions)) {
|
||||
foreach ($questionids as $questionid) {
|
||||
unset($existingquestions[$key]);
|
||||
unset($existingquestions[$questionid]);
|
||||
}
|
||||
}
|
||||
// now take as many of these as needed
|
||||
|
Loading…
x
Reference in New Issue
Block a user