From: Chad Horohoe Date: Wed, 10 Nov 2010 13:03:06 +0000 (+0000) Subject: Followup r76439, next button is conditional on whether we allow $wgUpgradeKey X-Git-Tag: 1.31.0-rc.0~33947 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=a34d539ead2c6c5f2c58bfc9deaa113185993dfd;p=lhc%2Fweb%2Fwiklou.git Followup r76439, next button is conditional on whether we allow $wgUpgradeKey --- 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 ); } }