Explorar o código

Better stylesheet ordering

pdontthink %!s(int64=19) %!d(string=hai) anos
pai
achega
5ee2685bda
Modificáronse 1 ficheiros con 6 adicións e 1 borrados
  1. 6 1
      class/template/Template.class.php

+ 6 - 1
class/template/Template.class.php

@@ -1078,7 +1078,12 @@ class Template
 
         }
 
-        return $return_array;
+
+        // return sheets for the current template set
+        // last so we can enable any custom overrides 
+        // of styles in ancestor sheets 
+        //
+        return array_reverse($return_array);
 
     }