From d37b1770aba5686269ab45e87e0f27022980dcb9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bartosz=20Dziewo=C5=84ski?= Date: Wed, 2 Jul 2014 20:21:02 +0200 Subject: [PATCH] WebInstallerOptions: Preserve state of extension checkboxes on error Change-Id: I7713f04653a96641896e997981656cfd582479cc --- includes/installer/WebInstallerPage.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } } -- 2.20.1