diff --git a/lib/outputrenderers.php b/lib/outputrenderers.php index 84c80b886c4..da020e47540 100644 --- a/lib/outputrenderers.php +++ b/lib/outputrenderers.php @@ -2656,7 +2656,7 @@ class core_renderer_ajax extends core_renderer { * @return string A template fragment for a fatal error */ public function fatal_error($message, $moreinfourl, $link, $backtrace, $debuginfo = null) { - global $FULLME, $USER; + global $CFG; $this->page->set_context(null); // ugly hack - make sure page context is set to something, we do not want bogus warnings here