From: Alexander Ebert Date: Sat, 5 Nov 2011 02:27:57 +0000 (+0100) Subject: Once again, fixed query X-Git-Tag: 2.0.0_Beta_1~1616^2~8 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=092e2f0855ea54798080669a64ab3ad8c547c08a;p=GitHub%2FWoltLab%2FWCF.git Once again, fixed query --- 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();