From: pichetp Date: Fri, 25 Sep 2009 08:22:43 +0000 (+0000) Subject: question MDL-19820 Adding global $OUTPUT X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=7b07a7d412f7b1af88eaa9b461e67d94023361ec;p=moodle.git question MDL-19820 Adding global $OUTPUT --- diff --git a/question/type/calculated/questiontype.php b/question/type/calculated/questiontype.php index 38eab5d047..bbad745c9e 100644 --- a/question/type/calculated/questiontype.php +++ b/question/type/calculated/questiontype.php @@ -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