Browse Source

Better stylesheet ordering

pdontthink 19 years ago
parent
commit
5ee2685bda
1 changed files with 6 additions and 1 deletions
  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);
 
     }