From a34d539ead2c6c5f2c58bfc9deaa113185993dfd Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Wed, 10 Nov 2010 13:03:06 +0000 Subject: [PATCH] Followup r76439, next button is conditional on whether we allow $wgUpgradeKey --- includes/installer/WebInstallerPage.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/includes/installer/WebInstallerPage.php b/includes/installer/WebInstallerPage.php index 2f2dc86938..0c38581b21 100644 --- a/includes/installer/WebInstallerPage.php +++ b/includes/installer/WebInstallerPage.php @@ -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( "
" . $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 ); } } -- 2.20.1