Fixed check for cached downloads
authorAlexander Ebert <ebert@woltlab.com>
Fri, 13 Jan 2017 16:00:58 +0000 (17:00 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 13 Jan 2017 16:00:58 +0000 (17:00 +0100)
wcfsetup/install/files/lib/system/package/PackageInstallationScheduler.class.php

index 7e0e6e546e7bfa94b62625ba0ae26ab6c91335d6..0bd582df7c9a645442196e710b9e4260078c3663 100644 (file)
@@ -212,7 +212,7 @@ class PackageInstallationScheduler {
         */
        protected function downloadPackage($package, $packageUpdateVersions, $validateInstallInstructions = false) {
                // get download from cache
-               if ($filename = $this->getCachedDownload($package, $packageUpdateVersions[0]['package'])) {
+               if ($filename = $this->getCachedDownload($package, $packageUpdateVersions[0]['packageVersion'])) {
                        return $filename;
                }