Typo recently introduced. MDL-6336

(merged from MOODLE_16_STABLE)
This commit is contained in:
stronk7
2006-10-06 15:03:46 +00:00
parent e96f2a77db
commit b695b9106b
+1 -1
View File
@@ -41,7 +41,7 @@ function migrate2utf8_lesson_attempts_useranswer($recordid) {
// if unserialize success, meaning it is an object
if ($attempt = unserialize($lessonattempts->useranswer)) {
$attempt->answer = utfconvert($attempt->answer, $fromencstudent);
$attempt->response = utfconvert(attempt->response, $fromencteacher);
$attempt->response = utfconvert($attempt->response, $fromencteacher);
$newla = new object;
$newla->id = $recordid;
$newla->useranswer = serialize($attempt); // serialize it back