From 8230f04de0f7974f0b9a06209c116195455e73d7 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Thu, 1 Dec 2011 17:50:20 +0100 Subject: [PATCH] Fixes bug during package update The id of the updated package is still read like when no routes were used. --- .../files/lib/acp/form/PackageStartInstallForm.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.20.1