From: Matthias Schmidt Date: Thu, 1 Dec 2011 16:50:20 +0000 (+0100) Subject: Fixes bug during package update X-Git-Tag: 2.0.0_Beta_1~1549^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8230f04de0f7974f0b9a06209c116195455e73d7;p=GitHub%2FWoltLab%2FWCF.git Fixes bug during package update The id of the updated package is still read like when no routes were used. --- diff --git a/wcfsetup/install/files/lib/acp/form/PackageStartInstallForm.class.php b/wcfsetup/install/files/lib/acp/form/PackageStartInstallForm.class.php index 70c64570ab..91cf4344f5 100755 --- a/wcfsetup/install/files/lib/acp/form/PackageStartInstallForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/PackageStartInstallForm.class.php @@ -78,8 +78,8 @@ class PackageStartInstallForm extends ACPForm { public function readParameters() { parent::readParameters(); - if (isset($_REQUEST['packageID'])) { - $this->packageID = intval($_REQUEST['packageID']); + if (isset($_REQUEST['id'])) { + $this->packageID = intval($_REQUEST['id']); if ($this->packageID != 0) { try { $this->package = new Package($this->packageID);