Skip to content

Commit

Permalink
Merge pull request #855 from M0rgan01/fix-conf-update
Browse files Browse the repository at this point in the history
Fixed bad parameter when updating configuration
  • Loading branch information
Quetzacoalt91 authored Aug 28, 2024
2 parents e2262bc + 77343a9 commit a757780
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/admin/AdminSelfUpgradeController.php
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ private function handleCustomSubmitAutoUpgradeForm()
}
// The PS_DISABLE_OVERRIDES variable must only be updated on the database side
if ($key === 'PS_DISABLE_OVERRIDES') {
UpgradeConfiguration::updatePSDisableOverrides((bool) $config[$key]);
UpgradeConfiguration::updatePSDisableOverrides((bool) $_POST[$key]);
} else {
$config[$key] = $_POST[$key];
}
Expand Down

0 comments on commit a757780

Please sign in to comment.