From: Alexander Ebert Date: Thu, 5 Dec 2013 18:56:09 +0000 (+0100) Subject: Fixed active tab if package download failed X-Git-Tag: 2.0.0_RC_5~5 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b9e47fe01c59e5aa06b9b61768d41c255848bd04;p=GitHub%2FWoltLab%2FWCF.git Fixed active tab if package download failed --- diff --git a/wcfsetup/install/files/lib/acp/form/PackageStartInstallForm.class.php b/wcfsetup/install/files/lib/acp/form/PackageStartInstallForm.class.php index c0b559c559..f1420ca1e2 100755 --- a/wcfsetup/install/files/lib/acp/form/PackageStartInstallForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/PackageStartInstallForm.class.php @@ -112,6 +112,8 @@ class PackageStartInstallForm extends AbstractForm { * Validates the download package input. */ protected function validateDownloadPackage() { + $this->activeTabMenuItem = 'upload'; + if (FileUtil::isURL($this->downloadPackage)) { // download package $this->archive = new PackageArchive($this->downloadPackage, $this->package);