mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
FIxed the logging of attempts so that clicking on the link in the log
actually shows you that attempt, rather than opening a new one!
This commit is contained in:
parent
c65e968162
commit
fc4a5a2f63
2 changed files with 9 additions and 5 deletions
|
@ -1623,7 +1623,7 @@ function quiz_save_attempt($quiz, $questions, $result, $attemptnum) {
|
|||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
return $attempt;
|
||||
}
|
||||
|
||||
function quiz_grade_attempt_question_result($question,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue