]> git.mjollnir.org Git - moodle.git/commitdiff
Added missing global that was causing perfinfo and others not to be respected.
authorEloy Lafuente <stronk7@moodle.org>
Tue, 3 Nov 2009 11:02:07 +0000 (11:02 +0000)
committerEloy Lafuente <stronk7@moodle.org>
Tue, 3 Nov 2009 11:02:07 +0000 (11:02 +0000)
lib/outputrenderers.php

index 7015546b50c7fa6a7701466f7170b6cf8471fbb5..655c7c77f7598c3f3611d27f8d3a4bf94b587667 100644 (file)
@@ -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');