SQL fixed
authorAlexander Ebert <ebert@woltlab.com>
Sat, 5 Nov 2011 02:03:53 +0000 (03:03 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Sat, 5 Nov 2011 02:03:53 +0000 (03:03 +0100)
wcfsetup/install/files/lib/system/package/PackageInstallationNodeBuilder.class.php

index 939d4f6e2f5cb28c65ac77fcea4af0a835785c6a..74460e45c3a4dc328624abfebeec5d8d6e80bab3 100644 (file)
@@ -562,7 +562,7 @@ class PackageInstallationNodeBuilder {
                $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 NOT NULL");
+               $queueList->getConditionBuilder()->add("package_installation_node.node IS NULL");
                $queueList->sqlLimit = 0;
                $queueList->readObjects();