Skip to content

Commit

Permalink
Merge pull request #963 from GytisZum/multishop-improvements
Browse files Browse the repository at this point in the history
Multishop improvements with state updating on module install
  • Loading branch information
GytisZum committed Sep 3, 2024
2 parents 3fe458c + 9731aa2 commit 3460fe1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Install/OrderStateInstaller.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,8 @@ private function enableState(string $key): void
$existingStateId = (int) $this->configurationAdapter->get($key);
$orderState = new OrderState($existingStateId);

$this->updateStateConfiguration($key, $orderState);

if ((bool) !$orderState->deleted) {
return;
}
Expand Down

0 comments on commit 3460fe1

Please sign in to comment.