From: Alexander Ebert Date: Fri, 20 Mar 2015 13:09:56 +0000 (+0100) Subject: Force stylesheets to be compiled in the order the packages have been installed X-Git-Tag: 2.1.2~25 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2f873ac224bc228cd037416126e161f2988b1902;p=GitHub%2FWoltLab%2FWCF.git Force stylesheets to be compiled in the order the packages have been installed --- diff --git a/wcfsetup/install/files/lib/system/style/StyleCompiler.class.php b/wcfsetup/install/files/lib/system/style/StyleCompiler.class.php index 404b2cf34b..2088b99330 100644 --- a/wcfsetup/install/files/lib/system/style/StyleCompiler.class.php +++ b/wcfsetup/install/files/lib/system/style/StyleCompiler.class.php @@ -54,9 +54,10 @@ class StyleCompiler extends SingletonFactory { $conditions = new PreparedStatementConditionBuilder(); $conditions->add("filename REGEXP ?", array('style/([a-zA-Z0-9\_\-\.]+)\.less')); - $sql = "SELECT filename, application - FROM wcf".WCF_N."_package_installation_file_log - ".$conditions; + $sql = "SELECT filename, application + FROM wcf".WCF_N."_package_installation_file_log + ".$conditions." + ORDER BY packageID"; $statement = WCF::getDB()->prepareStatement($sql); $statement->execute($conditions->getParameters()); $files = array();