]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-20204 adding missing theme render prefix for current theme - thanks dvpdiner2
authorPetr Skoda <skodak@moodle.org>
Tue, 29 Dec 2009 12:23:39 +0000 (12:23 +0000)
committerPetr Skoda <skodak@moodle.org>
Tue, 29 Dec 2009 12:23:39 +0000 (12:23 +0000)
lib/outputlib.php

index c643030921152b9cdd410b8aed703aa2ef302129..21782c6cb0244cd53e63743baf631274d9b92979 100644 (file)
@@ -499,7 +499,7 @@ class theme_config {
     public function renderer_prefixes() {
         global $CFG; // just in case the included files need it
 
-        $prefixes = array();
+        $prefixes = array('theme_'.$this->name);
 
         foreach ($this->parent_configs as $parent) {
             $prefixes[] = 'theme_'.$parent->name;