From 092e2f0855ea54798080669a64ab3ad8c547c08a Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sat, 5 Nov 2011 03:27:57 +0100 Subject: [PATCH] Once again, fixed query --- .../system/package/PackageInstallationNodeBuilder.class.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wcfsetup/install/files/lib/system/package/PackageInstallationNodeBuilder.class.php b/wcfsetup/install/files/lib/system/package/PackageInstallationNodeBuilder.class.php index 74460e45c3..cfc07774f2 100644 --- a/wcfsetup/install/files/lib/system/package/PackageInstallationNodeBuilder.class.php +++ b/wcfsetup/install/files/lib/system/package/PackageInstallationNodeBuilder.class.php @@ -560,9 +560,8 @@ class PackageInstallationNodeBuilder { */ protected function buildChildQueues() { $queueList = new PackageInstallationQueueList(); - $queueList->sqlJoins = "LEFT JOIN wcf".WCF_N."_package_installation_node package_installation_node ON (package_installation_node.queueID = package_installation_queue.queueID)"; $queueList->getConditionBuilder()->add("package_installation_queue.parentQueueID = ?", array($this->installation->queue->queueID)); - $queueList->getConditionBuilder()->add("package_installation_node.node IS NULL"); + $queueList->getConditionBuilder()->add("package_installation_queue.queueID NOT IN (SELECT queueID FROM wcf".WCF_N."_package_installation_node)"); $queueList->sqlLimit = 0; $queueList->readObjects(); -- 2.20.1