Skip to content

Commit

Permalink
Merge pull request #3168 from mk111/1.11.x
Browse files Browse the repository at this point in the history
Quiz: Fix argument set to 0 in ranking mode
  • Loading branch information
AngelFQC committed Apr 6, 2020
2 parents 7b39ea5 + bbddb27 commit fc3fd69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/inc/lib/exercise.lib.php
Expand Up @@ -4963,7 +4963,7 @@ public static function exerciseResultsInRanking($exerciseId, $courseId, $session
$data = [];
/** @var TrackEExercises $item */
foreach ($result as $item) {
$data[] = self::get_best_attempt_by_user($item['exeUserId'], $exerciseId, $courseId, $sessionId = 0);
$data[] = self::get_best_attempt_by_user($item['exeUserId'], $exerciseId, $courseId, $sessionId);
}

usort(
Expand Down

0 comments on commit fc3fd69

Please sign in to comment.