Skip to content

Commit

Permalink
Fix #10375 - Upgradewizard double commit
Browse files Browse the repository at this point in the history
  • Loading branch information
JanSiero committed Mar 10, 2024
1 parent 8735575 commit 5aa0e23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/UpgradeWizard/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@
//}
}

$additionalStep = $_REQUEST['additional_step'] ?? false;
if (!isset($additionalStep) || !$additionalStep) {
require('modules/UpgradeWizard/' . $upgradeStepFile . '.php');
}
Expand Down Expand Up @@ -506,7 +507,6 @@ function getSelectedModulesForLayoutMerge()
eoq;

// If we are on step 4 then force a redirect to run again to pick up changes to smarty before setting the template.
$additionalStep = $_REQUEST['additional_step'] ?? false;
if ($_REQUEST['step'] === '4' && !$additionalStep) {
// Set session variables
$_SESSION['UW_MAIN'] = $uwMain;
Expand Down

0 comments on commit 5aa0e23

Please sign in to comment.