X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Finstaller%2FWebInstallerWelcome.php;h=28e87847015682e198746e2b4ec71aed56d789a0;hb=382851ca07bbd31098ac3119bd130d5d1be8efa3;hp=a4f031cd2f1449fbf6527342ffb616eb8f4e9fff;hpb=d6016fa1f985120829cfeb596571dd844da8b4e3;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/installer/WebInstallerWelcome.php b/includes/installer/WebInstallerWelcome.php index a4f031cd2f..28e8784701 100644 --- a/includes/installer/WebInstallerWelcome.php +++ b/includes/installer/WebInstallerWelcome.php @@ -25,10 +25,8 @@ class WebInstallerWelcome extends WebInstallerPage { * @return string */ public function execute() { - if ( $this->parent->request->wasPosted() ) { - if ( $this->getVar( '_Environment' ) ) { - return 'continue'; - } + if ( $this->parent->request->wasPosted() && $this->getVar( '_Environment' ) ) { + return 'continue'; } $this->parent->output->addWikiTextAsInterface( wfMessage( 'config-welcome' )->plain() ); $status = $this->parent->doEnvironmentChecks();