]> git.mjollnir.org Git - moodle.git/commitdiff
fix Undefined property: stdClass::$displaynext in mod\hotpot\lib.php on line 356
authorgbateson <gbateson>
Mon, 28 Jan 2008 00:49:58 +0000 (00:49 +0000)
committergbateson <gbateson>
Mon, 28 Jan 2008 00:49:58 +0000 (00:49 +0000)
mod/hotpot/lib.php

index a6250485969e7e229ed5588af092c1f9aa7264e6..1167d98a2e7f6d393b2df7c6e7d81211f0cde22e 100644 (file)
@@ -336,6 +336,8 @@ function hotpot_set_form_values(&$hotpot) {
             default:
                 // use Moodle default action (i.e. go on to display the hotpot quiz)
         }
+    } else {
+        $hotpot->displaynext = HOTPOT_DISPLAYNEXT_QUIZ;
     }
 
     // if ($ok && $hotpot->setdefaults) {