fixed stupid bug in code for adding random questions

This commit is contained in:
gustav_delius 2005-02-03 18:04:15 +00:00
parent 428b9360de
commit adf3c01551

View File

@ -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