Merged robustness check from stable
This commit is contained in:
@@ -1046,6 +1046,10 @@ function quiz_print_quiz_questions($quiz, $questions,
|
||||
|
||||
foreach ($questions as $question) {
|
||||
|
||||
if (empty($question->qtype)) { // Just for robustness
|
||||
continue;
|
||||
}
|
||||
|
||||
$questionorder[] = $question->id;
|
||||
|
||||
if ($results && isset($results->details[$question->id])) {
|
||||
|
||||
Reference in New Issue
Block a user