Fix that the ModulePage cant find modules when being asked for

refs #7163
This commit is contained in:
Johannes Meyer 2014-10-28 13:45:00 +01:00
parent 98acc24869
commit dd6b045183
2 changed files with 2 additions and 1 deletions

View File

@ -33,6 +33,7 @@ class ModulePage extends Form
public function setPageData(array $pageData)
{
$this->pageData = $pageData;
return $this;
}
public function handleRequest(Request $request = null)

View File

@ -326,7 +326,7 @@ class WebSetup extends Wizard implements SetupWizard
)
);
foreach ($this->getPage('setup_modules')->getWizards() as $wizard) {
foreach ($this->getPage('setup_modules')->setPageData($this->getPageData())->getWizards() as $wizard) {
if ($wizard->isFinished()) {
$installer->addSteps($wizard->getInstaller()->getSteps());
}