Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Changed the fix to match what is in HEAD

  • Loading branch information...
commit f9fbfb4659a5809e76173635beebdbd41816236e 1 parent 9b00e4c
mark-nielsen authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 mod/lesson/action/continue.php
View
4 mod/lesson/action/continue.php
@@ -499,7 +499,7 @@
$noanswer = true;
break;
}
- $userresponse = $useranswer;
+ $studentanswer = $userresponse = $useranswer;
if (!$answers = get_records("lesson_answers", "pageid", $pageid, "id")) {
error("Continue: No answers found");
}
@@ -540,8 +540,6 @@
$response = get_string("thatsthewronganswer", "lesson");
}
}
-
- $studentanswer = $userresponse;
break;
case LESSON_BRANCHTABLE:
Please sign in to comment.
Something went wrong with that request. Please try again.