Skip to content

Commit

Permalink
NTR: PISHPS-246: Compatiblity with AcrisPersistenCartCS (#748)
Browse files Browse the repository at this point in the history
Co-authored-by: Vitalij Mik <[email protected]>
  • Loading branch information
BlackScorp and Vitalij Mik authored May 15, 2024
1 parent f27dcb6 commit b9e41ab
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Subscriber/SystemConfigSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ public static function getSubscribedEvents()
public function onSystemConfigWritten(EntityWrittenEvent $event): void
{
foreach ($event->getPayloads() as $payload) {
if (! isset($payload['configurationKey'])) {
continue;
}

$this->checkSystemConfigChange(
(string)$payload['configurationKey'],
$payload['configurationValue'],
Expand Down

0 comments on commit b9e41ab

Please sign in to comment.