From: Eloy Lafuente Date: Tue, 3 Nov 2009 11:02:07 +0000 (+0000) Subject: Added missing global that was causing perfinfo and others not to be respected. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=0f0801f499c24f4400da3cd791f7aa7dd62ad966;p=moodle.git Added missing global that was causing perfinfo and others not to be respected. --- 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');