From: toyomoyo Date: Wed, 3 May 2006 08:05:58 +0000 (+0000) Subject: fix for 5409 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=3925a20afe9dee78f0a3f370186bb0a9a7adca53;p=moodle.git fix for 5409 --- diff --git a/question/type/questiontype.php b/question/type/questiontype.php index 1713a1e0c4..5c0d15d6c7 100644 --- a/question/type/questiontype.php +++ b/question/type/questiontype.php @@ -522,7 +522,8 @@ class default_questiontype { get_string('response', 'quiz'), get_string('time'), ); - + } + foreach ($states as $st) { $st->responses[''] = $st->answer; $this->restore_session_and_responses($question, $st);