]> git.mjollnir.org Git - moodle.git/commitdiff
question MDL-19820 Adding global $OUTPUT
authorpichetp <pichetp>
Fri, 25 Sep 2009 08:22:43 +0000 (08:22 +0000)
committerpichetp <pichetp>
Fri, 25 Sep 2009 08:22:43 +0000 (08:22 +0000)
question/type/calculated/questiontype.php

index 38eab5d047e6239f7e5a1b002eabf7c603cee026..bbad745c9e6e22185e41f4336645d3f4d8e7890c 100644 (file)
@@ -539,6 +539,7 @@ class question_calculated_qtype extends default_questiontype {
      * @param string $wizardnow is '' for first page.
      */
     function display_question_editing_page(&$mform, $question, $wizardnow){
+        global $OUTPUT ;
         switch ($wizardnow){
             case '':
                 //on first page default display is fine