Followup r76439, next button is conditional on whether we allow $wgUpgradeKey
authorChad Horohoe <demon@users.mediawiki.org>
Wed, 10 Nov 2010 13:03:06 +0000 (13:03 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Wed, 10 Nov 2010 13:03:06 +0000 (13:03 +0000)
includes/installer/WebInstallerPage.php

index 2f2dc86..0c38581 100644 (file)
@@ -152,6 +152,7 @@ class WebInstaller_Locked extends WebInstallerPage {
        private function display() {
                $this->startForm();
                $this->parent->showStatusBox( $this->status );
+               $continue = false;
                if( $this->status->isOK() && !$this->status->isGood() ) {
                        $this->addHTML( "<br />" .
                                $this->parent->getTextBox( array(
@@ -159,8 +160,9 @@ class WebInstaller_Locked extends WebInstallerPage {
                                        'label' => 'config-localsettings-key',
                                ) )
                        );
+                       $continue = 'continue';
                }
-               $this->endForm( false );
+               $this->endForm( $continue );
        }
 }