Skip to content

Commit

Permalink
NTR: PISHPS-246: Compatiblity with AcrisPersistenCartCS
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitalij Mik committed May 15, 2024
1 parent d9c470d commit 8225e13
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 8225e13

Please sign in to comment.