Drop page data when skipping a page that was displayed before
refs #7163
This commit is contained in:
parent
0793033559
commit
4f52da95ac
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue