Skip to content

Commit

Permalink
load name of user in response history
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippImhof committed Nov 12, 2023
1 parent 9eea9d0 commit 6381d18
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions report.php
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,9 @@ 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());
if (method_exists($quba, 'preload_all_step_users')) {
$quba->preload_all_step_users();
}
$string .= $quba->render_question($slot, $displayoptions, $number);

}
Expand Down

0 comments on commit 6381d18

Please sign in to comment.