another missing global

This commit is contained in:
Petr Skoda
2010-09-18 13:06:03 +00:00
parent cc83b88002
commit 4f96fe55af
+1 -1
View File
@@ -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()));