Drop page data when skipping a page that was displayed before

refs #7163
This commit is contained in:
Johannes Meyer 2014-10-02 16:35:41 +02:00
parent 0793033559
commit 4f52da95ac
1 changed files with 5 additions and 0 deletions

View File

@ -143,6 +143,11 @@ class WebSetup extends Wizard implements SetupWizard
}
if ($skip) {
if ($this->hasPageData($newPage->getName())) {
$pageData = & $this->getPageData();
unset($pageData[$newPage->getName()]);
}
$pages = $this->getPages();
if ($this->getDirection() === static::FORWARD) {
$nextPage = $pages[array_search($newPage, $pages, true) + 1];