From 639e325bc0ae5c4ca1cd78a6b896e18ef100ab93 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sat, 5 Nov 2011 02:27:27 +0100 Subject: [PATCH] Properly validate if requirement is already met --- .../system/package/PackageInstallationNodeBuilder.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/package/PackageInstallationNodeBuilder.class.php b/wcfsetup/install/files/lib/system/package/PackageInstallationNodeBuilder.class.php index fcf72c44e7..954dfdb96b 100644 --- a/wcfsetup/install/files/lib/system/package/PackageInstallationNodeBuilder.class.php +++ b/wcfsetup/install/files/lib/system/package/PackageInstallationNodeBuilder.class.php @@ -389,7 +389,8 @@ class PackageInstallationNodeBuilder { $packageNodes = array(); $queue = $this->installation->queue; - $requiredPackages = $this->installation->getArchive()->getRequirements(); + // handle requirements + $requiredPackages = $this->installation->getArchive()->getOpenRequirements(); foreach ($requiredPackages as $packageName => $package) { if (!isset($package['file'])) { // ignore requirements which are not to be installed -- 2.20.1