Skip to content

Commit

Permalink
Fix for MDL-9250
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-nielsen committed Apr 8, 2007
1 parent 8a2366b commit c020af7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/lesson/locallib.php
Expand Up @@ -1294,7 +1294,7 @@ function lesson_unseen_question_jump($lesson, $user, $pageid) {
* @param int $userid User id.
* @return int Will return the page id of a branch table or end of lesson
**/
function lesson_unseen_branch_jump($lesson, $userid) {
function lesson_unseen_branch_jump($lessonid, $userid) {
if (!$retakes = count_records("lesson_grades", "lessonid", $lessonid, "userid", $userid)) {
$retakes = 0;
}
Expand Down

0 comments on commit c020af7

Please sign in to comment.