From 7b07a7d412f7b1af88eaa9b461e67d94023361ec Mon Sep 17 00:00:00 2001 From: pichetp Date: Fri, 25 Sep 2009 08:22:43 +0000 Subject: [PATCH] question MDL-19820 Adding global $OUTPUT --- question/type/calculated/questiontype.php | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.5