X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Finstaller%2FWebInstallerWelcome.php;h=28e87847015682e198746e2b4ec71aed56d789a0;hp=a4f031cd2f1449fbf6527342ffb616eb8f4e9fff;hb=c13fee87d42bdd6fdf6764edb6f6475c14c27749;hpb=9fc202b69496353a1142a692be5aaf158e9ea30c 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();