]> git.mjollnir.org Git - moodle.git/commitdiff
Typo recently introduced. MDL-6336
authorstronk7 <stronk7>
Fri, 6 Oct 2006 15:03:46 +0000 (15:03 +0000)
committerstronk7 <stronk7>
Fri, 6 Oct 2006 15:03:46 +0000 (15:03 +0000)
(merged from MOODLE_16_STABLE)

mod/lesson/db/migrate2utf8.php

index 6a7dd3a8a6a1a026b61a77367969e6e0c62ed8fc..27980a357225ceed1d95ab8b77d61c81098c7a9c 100755 (executable)
@@ -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