From 43978fb0ede6eeefb840a793671933f2f298bcc9 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Thu, 5 Jan 2012 17:59:07 +0100 Subject: [PATCH] Fixed a PostgreSQL issue --- .../files/lib/system/cache/builder/IconCacheBuilder.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/cache/builder/IconCacheBuilder.class.php b/wcfsetup/install/files/lib/system/cache/builder/IconCacheBuilder.class.php index a0068e6091..61da89bfba 100644 --- a/wcfsetup/install/files/lib/system/cache/builder/IconCacheBuilder.class.php +++ b/wcfsetup/install/files/lib/system/cache/builder/IconCacheBuilder.class.php @@ -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) -- 2.20.1