Better stylesheet ordering
[squirrelmail.git] / class / template / Template.class.php
index 43c83c63e719453c011fa6ffbce5f47ce99ec215..b9b992f402d6b870459faf77f5a5f528ab38aade 100644 (file)
@@ -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);
 
     }