diff --git a/report.php b/report.php index 8c642cc..2557b1a 100644 --- a/report.php +++ b/report.php @@ -334,6 +334,7 @@ protected function quiz_report_get_student_attempt($attemptid, $userid) { $attemptobj->get_question_attempt($originalslot)->get_max_mark()); } $quba = question_engine::load_questions_usage_by_activity($attemptobj->get_uniqueid()); + $quba->preload_all_step_users(); $string .= $quba->render_question($slot, $displayoptions, $number); }