Fixed active tab if package download failed
authorAlexander Ebert <ebert@woltlab.com>
Thu, 5 Dec 2013 18:56:09 +0000 (19:56 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 5 Dec 2013 18:56:09 +0000 (19:56 +0100)
wcfsetup/install/files/lib/acp/form/PackageStartInstallForm.class.php

index c0b559c55910679d7b2d18ae62dd7ed1e4d62b5e..f1420ca1e21b949af332df6a5a9aa5858aaa6050 100755 (executable)
@@ -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);