Skip to content

Commit

Permalink
Merge branch 'MDL-76649-master-fix' of https://github.com/junpataleta…
Browse files Browse the repository at this point in the history
  • Loading branch information
junpataleta committed Jan 12, 2023
2 parents 769397f + 71b3f9c commit 4c36405
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/quiz/report/statistics/classes/task/recalculate.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public function execute(): void {
mtrace(" Examining quiz '$attempt->quizname' ($attempt->quizid) in course " .
"$attempt->courseshortname ($attempt->courseid) with most recent attempt at " .
userdate($attempt->mostrecentattempttime, $dateformat) . ".");
$quizobj = quiz_settings::create($attempt->quiz);
$quizobj = quiz_settings::create($attempt->quizid);
$quiz = $quizobj->get_quiz();
// Hash code for question stats option in question bank.
$qubaids = quiz_statistics_qubaids_condition($quiz->id, new \core\dml\sql_join(), $quiz->grademethod);
Expand Down

0 comments on commit 4c36405

Please sign in to comment.