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:
moodler 2004-02-17 12:14:02 +00:00
parent c65e968162
commit fc4a5a2f63
2 changed files with 9 additions and 5 deletions

View file

@ -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,