From: Bartosz DziewoƄski Date: Wed, 2 Jul 2014 18:21:02 +0000 (+0200) Subject: WebInstallerOptions: Preserve state of extension checkboxes on error X-Git-Tag: 1.31.0-rc.0~15119^2 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/%7B%7B%20url_for%28%27vote%27%2C%20idvote=vote.voteid%29%20%7D%7D?a=commitdiff_plain;h=d37b1770aba5686269ab45e87e0f27022980dcb9;p=lhc%2Fweb%2Fwiklou.git WebInstallerOptions: Preserve state of extension checkboxes on error Change-Id: I7713f04653a96641896e997981656cfd582479cc --- diff --git a/includes/installer/WebInstallerPage.php b/includes/installer/WebInstallerPage.php index 06b561b581..bfef894d8c 100644 --- a/includes/installer/WebInstallerPage.php +++ b/includes/installer/WebInstallerPage.php @@ -1265,7 +1265,8 @@ class WebInstallerOptions extends WebInstallerPage { $extsAvailable = $this->parent->findExtensions(); $extsToInstall = array(); foreach ( $extsAvailable as $ext ) { - if ( $this->parent->request->getCheck( 'config_ext-' . $ext ) ) { + $this->parent->setVarsFromRequest( array( "ext-$ext" ) ); + if ( $this->getVar( "ext-$ext" ) ) { $extsToInstall[] = $ext; } }