Skip to content

Commit

Permalink
Merge pull request #917 from DivanteLtd/fix-store-based-mail-missing-…
Browse files Browse the repository at this point in the history
…configuration

Fixed not passing full configuration for Store based Mail.
  • Loading branch information
dpfaffenbauer authored Apr 3, 2019
2 parents 46a035e + eb7f378 commit 36c41e7
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}

0 comments on commit 36c41e7

Please sign in to comment.