From 4f96fe55af7e6bf0bda6d3d0358be0543d4ddba0 Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Sat, 18 Sep 2010 13:06:03 +0000 Subject: [PATCH] another missing global --- mod/lesson/pagetypes/essay.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/lesson/pagetypes/essay.php b/mod/lesson/pagetypes/essay.php index c653fe5a128..f9113ff1873 100644 --- a/mod/lesson/pagetypes/essay.php +++ b/mod/lesson/pagetypes/essay.php @@ -49,7 +49,7 @@ class lesson_page_type_essay extends lesson_page { return $this->typeidstring; } public function display($renderer, $attempt) { - global $PAGE, $CFG; + global $PAGE, $CFG, $USER; $mform = new lesson_display_answer_form_essay($CFG->wwwroot.'/mod/lesson/continue.php', array('contents'=>$this->get_contents())); -- 2.43.0