Skip to content

Commit

Permalink
Fix that the ModulePage cant find modules when being asked for
Browse files Browse the repository at this point in the history
refs #7163
  • Loading branch information
Johannes Meyer committed Oct 29, 2014
1 parent 98acc24 commit dd6b045
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions application/forms/Setup/ModulePage.php
Expand Up @@ -33,6 +33,7 @@ public function init()
public function setPageData(array $pageData)
{
$this->pageData = $pageData;
return $this;
}

public function handleRequest(Request $request = null)
Expand Down
2 changes: 1 addition & 1 deletion library/Icinga/Application/WebSetup.php
Expand Up @@ -326,7 +326,7 @@ public function getInstaller()
)
);

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());
}
Expand Down

0 comments on commit dd6b045

Please sign in to comment.