Fixed a PostgreSQL issue
authorMarcel Werk <burntime@woltlab.com>
Thu, 5 Jan 2012 16:59:07 +0000 (17:59 +0100)
committerMarcel Werk <burntime@woltlab.com>
Thu, 5 Jan 2012 16:59:07 +0000 (17:59 +0100)
wcfsetup/install/files/lib/system/cache/builder/IconCacheBuilder.class.php

index a0068e6091810008ad4128900ba40e32464cde67..61da89bfbaf70043be03cb3298b986b872727146 100644 (file)
@@ -32,7 +32,7 @@ class IconCacheBuilder implements ICacheBuilder {
                $packageDirs = array();
                $conditionBuilder = new PreparedStatementConditionBuilder();
                $conditionBuilder->add("dependency.packageID IN (?) AND package.packageDir <> ''", array(PackageDependencyHandler::getDependencies()));
-               $sql = "SELECT          DISTINCT package.packageDir
+               $sql = "SELECT          DISTINCT package.packageDir, dependency.priority
                        FROM            wcf".WCF_N."_package_dependency dependency
                        LEFT JOIN       wcf".WCF_N."_package package
                        ON              (package.packageID = dependency.dependency)