fixed end of cluster scoring
authorPetr Skoda <skodak@moodle.org>
Sat, 18 Sep 2010 13:20:31 +0000 (13:20 +0000)
committerPetr Skoda <skodak@moodle.org>
Sat, 18 Sep 2010 13:20:31 +0000 (13:20 +0000)
mod/lesson/pagetypes/endofcluster.php

index 0518e61..290609d 100644 (file)
@@ -95,7 +95,7 @@ class lesson_page_type_endofcluster extends lesson_page {
         if (isset($properties->jumpto[0])) {
             $answer->jumpto = $properties->jumpto[0];
         }
-        if (isset($form->score[0])) {
+        if (isset($properties->score[0])) {
             $answer->score = $properties->score[0];
         }
         if (!empty($answer->id)) {