From 7fe2010cebae801a6db73e4de4cd9de614eb381b Mon Sep 17 00:00:00 2001 From: michaelpenne Date: Tue, 24 Jan 2006 00:45:25 +0000 Subject: [PATCH] [Fixed] A problem with storing the answerid for numerical questions. Discussion here: http://moodle.org/mod/forum/discuss.php?d=37537 --- mod/lesson/action/continue.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/lesson/action/continue.php b/mod/lesson/action/continue.php index c0d3e3f7b15..ef694229c49 100644 --- a/mod/lesson/action/continue.php +++ b/mod/lesson/action/continue.php @@ -478,11 +478,11 @@ if ($lesson->custom) { if ($answer->score > 0) { $correctanswer = true; - $answerid = $answer->id; } else { $correctanswer = false; } } + $answerid = $answer->id; /// CDC-FLAG /// break; }