Fixed typo
authorAlexander Ebert <ebert@woltlab.com>
Fri, 24 Feb 2012 15:33:56 +0000 (16:33 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 24 Feb 2012 15:33:56 +0000 (16:33 +0100)
wcfsetup/install/files/lib/system/package/PackageInstallationNodeBuilder.class.php

index 8f641d0cb3cf2fb9e74b30149b5137bff62081bc..5592cfedd60ba9048a5a536f0eabf2e200c55823 100644 (file)
@@ -423,7 +423,7 @@ class PackageInstallationNodeBuilder {
                        if (!isset($package['file'])) {
                                // requirements will be checked once package is about to be installed
                                $this->requirements[$packageName] = array(
-                                       'minVersion' => (isset($package['minversion'])) ?: '',
+                                       'minVersion' => (isset($package['minversion'])) ? $package['minversion'] : '',
                                        'packageID' => $package['packageID']
                                );