From 0f0801f499c24f4400da3cd791f7aa7dd62ad966 Mon Sep 17 00:00:00 2001 From: Eloy Lafuente Date: Tue, 3 Nov 2009 11:02:07 +0000 Subject: [PATCH] Added missing global that was causing perfinfo and others not to be respected. --- lib/outputrenderers.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/outputrenderers.php b/lib/outputrenderers.php index 7015546b50..655c7c77f7 100644 --- a/lib/outputrenderers.php +++ b/lib/outputrenderers.php @@ -874,6 +874,8 @@ class moodle_core_renderer extends moodle_renderer_base { * @return string HTML fragment */ public function footer() { + global $CFG; + $output = $this->opencontainers->pop_all_but_last(true); $footer = $this->opencontainers->pop('header/footer'); -- 2.39.5