diff --git a/src/CoreShop/Component/Core/Notification/Rule/Action/Order/StoreMailActionProcessor.php b/src/CoreShop/Component/Core/Notification/Rule/Action/Order/StoreMailActionProcessor.php index ff8576c49e..bde606d1b2 100644 --- a/src/CoreShop/Component/Core/Notification/Rule/Action/Order/StoreMailActionProcessor.php +++ b/src/CoreShop/Component/Core/Notification/Rule/Action/Order/StoreMailActionProcessor.php @@ -55,9 +55,10 @@ public function apply($subject, NotificationRuleInterface $rule, array $configur } if (array_key_exists($store->getId(), $mails)) { - $this->mailActionProcessor->apply($subject, $rule, [ - 'mails' => $mails[$store->getId()], - ], $params); + $subConfiguration = $configuration; + $subConfiguration['mails'] = $mails[$store->getId()]; + + $this->mailActionProcessor->apply($subject, $rule, $subConfiguration, $params); } } }